summaryrefslogtreecommitdiff
path: root/Source/3rdParty/SDL2/src/render/opengl/SDL_shaders_gl.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-01-31 18:38:35 +0800
committerchai <chaifix@163.com>2019-01-31 18:38:35 +0800
commit2ec55fd974a63b705a4777c256d2222c874fa043 (patch)
tree48f1fea59ee9fc713a28a9aac3f05b98dc5ae66f /Source/3rdParty/SDL2/src/render/opengl/SDL_shaders_gl.h
parentc581dfbf1e849f393861d15e82aa6446c0c1c310 (diff)
*SDL project
Diffstat (limited to 'Source/3rdParty/SDL2/src/render/opengl/SDL_shaders_gl.h')
-rw-r--r--Source/3rdParty/SDL2/src/render/opengl/SDL_shaders_gl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/3rdParty/SDL2/src/render/opengl/SDL_shaders_gl.h b/Source/3rdParty/SDL2/src/render/opengl/SDL_shaders_gl.h
index 9805c59..3697521 100644
--- a/Source/3rdParty/SDL2/src/render/opengl/SDL_shaders_gl.h
+++ b/Source/3rdParty/SDL2/src/render/opengl/SDL_shaders_gl.h
@@ -18,6 +18,10 @@
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
+
+#ifndef SDL_shaders_gl_h_
+#define SDL_shaders_gl_h_
+
#include "../../SDL_internal.h"
/* OpenGL shader implementation */
@@ -44,4 +48,6 @@ extern GL_ShaderContext * GL_CreateShaderContext(void);
extern void GL_SelectShader(GL_ShaderContext *ctx, GL_Shader shader);
extern void GL_DestroyShaderContext(GL_ShaderContext *ctx);
+#endif /* SDL_shaders_gl_h_ */
+
/* vi: set ts=4 sw=4 expandtab: */