RetroArch
shaders_common.h
Go to the documentation of this file.
1 #ifndef _SHADERS_COMMON
2 #define _SHADERS_COMMON
3 
4 #if defined(HAVE_OPENGLES)
5 #define CG(src) "" #src
6 #define GLSL(src) "precision mediump float;\n" #src
7 #define GLSL_300(src) "#version 300 es\n" #src
8 #else
9 #define CG(src) "" #src
10 #define GLSL(src) "" #src
11 #define GLSL_300(src) "#version 300 es\n" #src
12 #endif
13 
14 #endif