Explorar el Código

Fix unexisting `texture` function in GLSL

DricomDragon hace 4 años
padre
commit
5deb84f347
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      caban/Shaders/texture.frag

+ 1 - 1
caban/Shaders/texture.frag

@@ -24,5 +24,5 @@ void main()
 {
     // Couleur du pixel
 
-    out_Color = texture(texture, coordTexture);
+    out_Color = texture2D(texture, coordTexture);
 }