Przeglądaj źródła

another bias js fix

Nicolas Cannasse 5 lat temu
rodzic
commit
e537ab9f2b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      h3d/impl/GlDriver.hx

+ 1 - 1
h3d/impl/GlDriver.hx

@@ -579,7 +579,7 @@ class GlDriver extends Driver {
 				}
 				if( t.lodBias != t.t.bias ) {
 					t.t.bias = t.lodBias;
-					gl.texParameterf(pt.mode, GL.TEXTURE_LOD_BIAS, t.lodBias);
+					gl.texParameterf(pt.mode, GL2.TEXTURE_LOD_BIAS, t.lodBias);
 				}
 			}
 		}