1
0
Fork 0

My GLSL compiler is stricter than yours.

- Apple GLSL strongly objects to mismatched function declaration /
return value type, and similarly to mismatched function declaration /
lvalue type.
This commit is contained in:
James Turner 2014-03-10 17:57:04 +00:00
parent 7cebb2963e
commit cbe18617fd

View file

@ -41,7 +41,7 @@ else
} }
float light_sprite (in vec2 coord, in float transmission) vec4 light_sprite (in vec2 coord, in float transmission)
{ {
coord.s = coord.s - 0.5; coord.s = coord.s - 0.5;