From fd1d067c36018ab086f3c6cfe04417b53685b06d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 18 Sep 2013 21:46:04 +0200 Subject: [PATCH] Shaders: fix textured Phong for GLSL 1.20 and GLSL ES 1.0. I desperately need unit tests for shader compilation. --- src/Shaders/Phong.frag | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Shaders/Phong.frag b/src/Shaders/Phong.frag index 3390442f7..3ff85a814 100644 --- a/src/Shaders/Phong.frag +++ b/src/Shaders/Phong.frag @@ -25,6 +25,7 @@ #ifndef NEW_GLSL #define in varying #define color gl_FragColor +#define texture texture2D #endif #ifndef RUNTIME_CONST