I have a problem enabling a shader extension.
i have this as the first line in my shader:
#extension GL_OES_standard_derivatives : enable
But on iPad2 , iPad Air, Android it generate an error: #extension must always be before any non-preprocessor tokens
The shaders do work and the extension is enabled, it just gives this error before it start.
( works without the error on windows and mac ).
I guess AppGameKit add something as the first lines in the shaders , would it be possible to add a line to the shaders as the very first line , before AppGameKit insert anything ?
best regards Preben Eriksen,