ソースを参照

Fix for textures on gl.

clementlandrin 1 年間 前
コミット
0f86dfd76b
1 ファイル変更1 行追加1 行削除
  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):