Phone complains that identical GLSL struct definition differs in vert/frag programs
- by stephelton
When I provide the following struct definition in linked frag and vert shaders, my phone (Samsung Vibrant / Android 2.2) complains that the definition differs.
struct Light {
mediump vec3 _position;
lowp vec4 _ambient;
lowp vec4 _diffuse;
lowp vec4 _specular;
bool _isDirectional;
mediump vec3 _attenuation; // constant,…