mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-22 06:02:04 +02:00
15 lines
235 B
C
15 lines
235 B
C
#ifdef GLSLES
|
|
|
|
#ifdef FRAGMENT_SHADER
|
|
/* Only the fragment shader has no default float precision */
|
|
precision mediump float;
|
|
#endif
|
|
|
|
#else
|
|
|
|
/* Desktop GLSL doesn't know about these */
|
|
#define highp
|
|
#define mediump
|
|
#define lowp
|
|
|
|
#endif
|