Commit eef67ee0 authored by twinaphex's avatar twinaphex
Browse files

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

parent 03a8bc98
#ifndef _SHADERS_COMMON
#define _SHADERS_COMMON
#undef VERTEX
#define FRAGMENT
#include "../glsl_common.h"
#endif
#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
#ifndef _SHADERS_COMMON
#define _SHADERS_COMMON
#undef FRAGMENT
#undef VERTEX
#define VERTEX
#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