mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Revert "Get rid of the header guards in shaders_common.h/glsl_common.h"
This reverts commit eef67ee0cda98af45e9ef7c54a95cdc7a90ac23f.
This commit is contained in:
parent
eef67ee0cd
commit
08d024ecad
@ -1,3 +1,6 @@
|
||||
#undef VERTEX
|
||||
#define FRAGMENT
|
||||
#ifndef _SHADERS_COMMON
|
||||
#define _SHADERS_COMMON
|
||||
|
||||
#include "../glsl_common.h"
|
||||
|
||||
#endif
|
||||
|
@ -1,8 +1,5 @@
|
||||
#undef GLSL_DERIV_PREAMBLE
|
||||
#undef GLSL_PREAMBLE
|
||||
#undef GLSL
|
||||
#undef GLSL_300
|
||||
#undef GLSL_330
|
||||
#ifndef _SHADERS_COMMON
|
||||
#define _SHADERS_COMMON
|
||||
|
||||
#define GLSL_DERIV_PREAMBLE() "#extension GL_OES_standard_derivatives : enable\n"
|
||||
#define GLSL_PREAMBLE() \
|
||||
@ -24,3 +21,5 @@
|
||||
#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,4 +1,6 @@
|
||||
#undef FRAGMENT
|
||||
#undef VERTEX
|
||||
#define VERTEX
|
||||
#ifndef _SHADERS_COMMON
|
||||
#define _SHADERS_COMMON
|
||||
|
||||
#include "../glsl_common.h"
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user