Преглед изворни кода

fixed Lod functions overload in GLSLCompat lib

Rémy Bouquet пре 9 година
родитељ
комит
5aa8af28cd
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      jme3-core/src/main/resources/Common/ShaderLib/GLSLCompat.glsllib

+ 2 - 1
jme3-core/src/main/resources/Common/ShaderLib/GLSLCompat.glsllib

@@ -23,7 +23,8 @@ out vec4 outFragColor;
 #  define texture1D texture
 #  define texture2D texture
 #  define texture3D texture
-#  define texture2DLod texture
+#  define texture2DLod textureLod
+#  define textureCubeLod textureLod
 #  if defined VERTEX_SHADER
 #    define varying out
 #    define attribute in