Version should be 100 for GLSLES

actorid
scrawl 12 years ago
parent c2c88acc7b
commit de5a08a07d

@ -62,7 +62,11 @@
#define shFract(val) fract(val)
#if SH_GLSLES == 1
@version 100
#else
@version 120
#endif
#if SH_GLSLES == 1 && SH_FRAGMENT_SHADER
precision mediump int;

Loading…
Cancel
Save