소스 검색

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):