summaryrefslogtreecommitdiff
path: root/data/shaders/phong-frag.glsl
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-09-27 10:59:54 -0400
committerDavid Thompson <dthompson2@worcester.edu>2021-09-28 08:02:39 -0400
commit669624a8043710a2ed563d1324eb079cf5f05db6 (patch)
tree4cace354c227fccb2d7a8706b197d887b4f1ef88 /data/shaders/phong-frag.glsl
parent04621aa849f312a91db00d4ea6787bce42f3a6a5 (diff)
Fix compatibility shims in PBR/Phong fragment shaders.
Diffstat (limited to 'data/shaders/phong-frag.glsl')
-rw-r--r--data/shaders/phong-frag.glsl2
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