Explorar el Código

Fix for textures on gl.

clementlandrin hace 1 año
padre
commit
0f86dfd76b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      h3d/impl/GlDriver.hx

+ 1 - 1
h3d/impl/GlDriver.hx

@@ -343,7 +343,7 @@ class GlDriver extends Driver {
 			case TArray(t,SConst(n)): tt = t; count = n;
 			default:
 			}
-			if( tt != curT ) {
+			if( !tt.equals(curT) ) {
 				curT = tt;
 				name = switch( tt ) {
 				case TSampler(dim,arr):