Browse Source

border_clamp

David Rose 16 years ago
parent
commit
37a5fdf2f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/glstuff/glGraphicsStateGuardian_src.cxx

+ 1 - 1
panda/src/glstuff/glGraphicsStateGuardian_src.cxx

@@ -1018,7 +1018,7 @@ reset() {
     _edge_clamp = GL_CLAMP_TO_EDGE;
     _edge_clamp = GL_CLAMP_TO_EDGE;
   }
   }
 
 
-  _border_clamp = GL_CLAMP;
+  _border_clamp = _edge_clamp;
   if (CLP(support_clamp_to_border) &&
   if (CLP(support_clamp_to_border) &&
       (has_extension("GL_ARB_texture_border_clamp") ||
       (has_extension("GL_ARB_texture_border_clamp") ||
        is_at_least_version(1, 3))) {
        is_at_least_version(1, 3))) {