Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Switch
RetroArch
RetroArch
Commits
eef67ee0
Commit
eef67ee0
authored
Nov 24, 2018
by
twinaphex
Browse files
Get rid of the header guards in shaders_common.h/glsl_common.h
parent
03a8bc98
Changes
3
Hide whitespace changes
Inline
Side-by-side
gfx/drivers/gl_shaders/glsl/frag/shaders_common.h
View file @
eef67ee0
#ifndef _SHADERS_COMMON
#define _SHADERS_COMMON
#undef VERTEX
#define FRAGMENT
#include "../glsl_common.h"
#endif
gfx/drivers/gl_shaders/glsl/glsl_common.h
View file @
eef67ee0
#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
gfx/drivers/gl_shaders/glsl/vert/shaders_common.h
View file @
eef67ee0
#
if
ndef
_SHADERS_COMMON
#def
ine _SHADERS_COMMON
#
u
ndef
FRAGMENT
#
un
def
VERTEX
#define VERTEX
#include "../glsl_common.h"
#endif
M4xw
🍗
@m4x
mentioned in commit
08d024ec
·
Nov 24, 2018
mentioned in commit
08d024ec
mentioned in commit 08d024ecad75a2cd7b9a3d5f51d8d331c01c9fdc
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment