mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-04 06:11:17 +00:00
16 lines
408 B
C
16 lines
408 B
C
#ifndef _SHADERS_COMMON
|
|
#define _SHADERS_COMMON
|
|
|
|
#if defined(HAVE_OPENGLES)
|
|
#define CG(src) "" #src
|
|
#define GLSL(src) "precision mediump float;\n" #src
|
|
#define GLSL_330(src) "#version 330 es\nprecision mediump float;\n" #src
|
|
#else
|
|
#define CG(src) "" #src
|
|
#define GLSL(src) "" #src
|
|
#define GLSL_300(src) "#version 300 es\n" #src
|
|
#define GLSL_330(src) "#version 330 core\n" #src
|
|
#endif
|
|
|
|
#endif
|