Commit 08d024ec authored by twinaphex's avatar twinaphex
Browse files

Revert "Get rid of the header guards in shaders_common.h/glsl_common.h"

This reverts commit eef67ee0.
parent eef67ee0
#undef VERTEX
#define FRAGMENT
#ifndef _SHADERS_COMMON
#define _SHADERS_COMMON
#include "../glsl_common.h"
#endif
#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
#undef FRAGMENT
#undef VERTEX
#define VERTEX
#ifndef _SHADERS_COMMON
#define _SHADERS_COMMON
#include "../glsl_common.h"
#endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment