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:
parent
c2c88acc7b
commit
de5a08a07d
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue