浏览代码

Fix unexisting `texture` function in GLSL

DricomDragon 4 年之前
父节点
当前提交
5deb84f347
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
 }