Explorar o código

fixed textureCubeLod in modern glsl

Nicolas Cannasse %!s(int64=8) %!d(string=hai) anos
pai
achega
52bd5789b9
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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));