mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:30:05 +00:00
bool is a non-standard glsl type not recognized by all OpenGL drivers
This commit is contained in:
parent
6907ade2ae
commit
15c0ddc327
4 changed files with 8 additions and 8 deletions
|
|
@ -17,7 +17,7 @@ out VertexData
|
|||
vec3 texCoord;
|
||||
vec4 color;
|
||||
ivec2 timeRange;
|
||||
bool displayed;
|
||||
int displayed;
|
||||
} vsOut;
|
||||
|
||||
smooth out vec3 texCoord;
|
||||
|
|
@ -30,7 +30,7 @@ void main()
|
|||
vsOut.timeRange = ivec2(0, 0);
|
||||
|
||||
// Pass displayed to the geometry shader
|
||||
vsOut.displayed = (aDisplayed != 0);
|
||||
vsOut.displayed = aDisplayed;
|
||||
|
||||
// Pass the texture coordinate and color modulate to the geometry and
|
||||
// fragment shaders
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue