Selaa lähdekoodia

another bias js fix

Nicolas Cannasse 5 vuotta sitten
vanhempi
commit
e537ab9f2b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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);
 				}
 			}
 		}