1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 08:23:53 +00:00

Version should be 100 for GLSLES

This commit is contained in:
scrawl 2013-05-25 05:40:35 +02:00
parent c2c88acc7b
commit de5a08a07d

View file

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