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:
parent
7cebb2963e
commit
cbe18617fd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue