Browse Source

Fix unexisting `texture` function in GLSL

DricomDragon 4 năm trước cách đây
mục cha
commit
5deb84f347
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
 }