diff options
Diffstat (limited to 'data/shaders/phong-frag.glsl')
-rw-r--r-- | data/shaders/phong-frag.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/shaders/phong-frag.glsl b/data/shaders/phong-frag.glsl index b07c8b0..979869e 100644 --- a/data/shaders/phong-frag.glsl +++ b/data/shaders/phong-frag.glsl @@ -46,7 +46,7 @@ const float GAMMA = 2.2; #ifndef GLSL330 // Compatibility shim for older GLSL versions. -vec2 texture(sampler2D tex, vec2 coord) { +vec4 texture(sampler2D tex, vec2 coord) { return texture2D(tex, coord); } #endif |