Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-04-13 12:10:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-04-13 12:11:55 +0300
commitffa63d2de6714aeda8a226b9e11d9b9e0b8d94d6 (patch)
tree3801bdd2452011c3a7a71ba98b23d165c3cf6e72 /source/blender/gpu/intern/gpu_shader_private.h
parent1c426d5b6cf70dc4bf84b3bdc494b4543d68c715 (diff)
Use regular header guards in GPU
Diffstat (limited to 'source/blender/gpu/intern/gpu_shader_private.h')
-rw-r--r--source/blender/gpu/intern/gpu_shader_private.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_private.h b/source/blender/gpu/intern/gpu_shader_private.h
index 10ffc17f0d5..c0c24187da5 100644
--- a/source/blender/gpu/intern/gpu_shader_private.h
+++ b/source/blender/gpu/intern/gpu_shader_private.h
@@ -22,7 +22,8 @@
* \ingroup gpu
*/
-#pragma once
+#ifndef __GPU_SHADER_PRIVATE_H__
+#define __GPU_SHADER_PRIVATE_H__
#include "GPU_glew.h"
#include "gawain/shader_interface.h"
@@ -39,3 +40,6 @@ struct GPUShader {
ShaderInterface *interface; /* cached uniform & attrib interface for shader */
};
+
+#endif /* __GPU_SHADER_PRIVATE_H__ */
+