at the moment I'm writing some GLSL shaders.
These shaders are for the OpenGL 4.1 core profile and should be compatible with OpenGL ES 2.0.
This is an excerpt from one of my vertex shaders.mediump in vec3 normalVector;
This works fine in Linux.
The same shader in Windows throws the error
If I switch the order of the qualifiers toOpenGL does not allow 'inout' after 'mediump'
it works in Windows but throws the opposite error message in Linux.in mediump vec3 normalVector;
I use a nVidia card with driver version 280.13 with Linux and the newest current driver for Windows.OpenGL does not allow 'mediump' after 'inout'
What am I doing wrong?
What is the correct order for the qualifiers?
Thanx in advance,