David Rose 16 年 前
コミット
37a5fdf2f3
1 ファイル変更1 行追加1 行削除
  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;
   }
 
-  _border_clamp = GL_CLAMP;
+  _border_clamp = _edge_clamp;
   if (CLP(support_clamp_to_border) &&
       (has_extension("GL_ARB_texture_border_clamp") ||
        is_at_least_version(1, 3))) {