mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-29 03:00:24 +00:00
Get rid of the header guards in shaders_common.h/glsl_common.h
This commit is contained in:
parent
03a8bc9875
commit
eef67ee0cd
@ -1,6 +1,3 @@
|
||||
#ifndef _SHADERS_COMMON
|
||||
#define _SHADERS_COMMON
|
||||
|
||||
#undef VERTEX
|
||||
#define FRAGMENT
|
||||
#include "../glsl_common.h"
|
||||
|
||||
#endif
|
||||
|
@ -1,5 +1,8 @@
|
||||
#ifndef _SHADERS_COMMON
|
||||
#define _SHADERS_COMMON
|
||||
#undef GLSL_DERIV_PREAMBLE
|
||||
#undef GLSL_PREAMBLE
|
||||
#undef GLSL
|
||||
#undef GLSL_300
|
||||
#undef GLSL_330
|
||||
|
||||
#define GLSL_DERIV_PREAMBLE() "#extension GL_OES_standard_derivatives : enable\n"
|
||||
#define GLSL_PREAMBLE() \
|
||||
@ -21,5 +24,3 @@
|
||||
#define GLSL_300(src) "#version 300 es\n" GLSL_PREAMBLE() #src
|
||||
#define GLSL_330(src) "#version 330 core\n" GLSL_PREAMBLE() #src
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -1,6 +1,4 @@
|
||||
#ifndef _SHADERS_COMMON
|
||||
#define _SHADERS_COMMON
|
||||
|
||||
#undef FRAGMENT
|
||||
#undef VERTEX
|
||||
#define VERTEX
|
||||
#include "../glsl_common.h"
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user