소스 검색

fixed textureCubeLod in modern glsl

Nicolas Cannasse 8 년 전
부모
커밋
52bd5789b9
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      hxsl/GlslOut.hx

+ 5 - 0
hxsl/GlslOut.hx

@@ -219,6 +219,11 @@ class GlslOut {
 					add("texture");
 					return;
 				}
+			case TextureCubeLod:
+				if( !glES ) {
+					add("textureLod");
+					return;
+				}
 			default:
 			}
 			add(GLOBALS.get(g));