diff options
Diffstat (limited to 'data/shaders/pbr-frag.glsl')
-rw-r--r-- | data/shaders/pbr-frag.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/shaders/pbr-frag.glsl b/data/shaders/pbr-frag.glsl index e6bcdc5..95986a4 100644 --- a/data/shaders/pbr-frag.glsl +++ b/data/shaders/pbr-frag.glsl @@ -62,7 +62,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 |