Update GLSL_330_ES/GLSL_330_CORE
This commit is contained in:
parent
e331281d6a
commit
2056d25e3e
|
@ -4,10 +4,10 @@
|
||||||
#if defined(HAVE_OPENGLES)
|
#if defined(HAVE_OPENGLES)
|
||||||
#define GLSL(src) "precision mediump float;\n" #src
|
#define GLSL(src) "precision mediump float;\n" #src
|
||||||
#define GLSL_330_ES(src) "#version 330 es\nprecision mediump float;\n" #src
|
#define GLSL_330_ES(src) "#version 330 es\nprecision mediump float;\n" #src
|
||||||
#define GLSL_330_CORE(src) "#version 330 core\nprecision mediump float;\n" #src
|
#define GLSL_330_CORE(src) "#version 330 es\nprecision mediump float;\n" #src
|
||||||
#else
|
#else
|
||||||
#define GLSL(src) "" #src
|
#define GLSL(src) "" #src
|
||||||
#define GLSL_330_ES(src) "#version 330 es\n" #src
|
#define GLSL_330_ES(src) "#version 330 core\n" #src
|
||||||
#define GLSL_330_CORE(src) "#version 330 core\n" #src
|
#define GLSL_330_CORE(src) "#version 330 core\n" #src
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue