aboutsummaryrefslogtreecommitdiffstats
path: root/examples/shader_utils.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-10-21 12:23:24 +0200
committerDavid Robillard <d@drobilla.net>2020-10-21 15:43:29 +0200
commitfeb6c4f7952eafbc8c2203ef0c657ea3580ee441 (patch)
treed67ed34eb9955720fd63b961f9b07ce00f5321a9 /examples/shader_utils.h
parent063ddc8db2831e1f79d7569c8fc80dd3d54f5cda (diff)
downloadpugl-feb6c4f7952eafbc8c2203ef0c657ea3580ee441.tar.gz
pugl-feb6c4f7952eafbc8c2203ef0c657ea3580ee441.tar.bz2
pugl-feb6c4f7952eafbc8c2203ef0c657ea3580ee441.zip
Add missing include guards
Diffstat (limited to 'examples/shader_utils.h')
-rw-r--r--examples/shader_utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/shader_utils.h b/examples/shader_utils.h
index 10a7ace..217ba47 100644
--- a/examples/shader_utils.h
+++ b/examples/shader_utils.h
@@ -14,6 +14,9 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifndef EXAMPLES_SHADER_UTILS_H
+#define EXAMPLES_SHADER_UTILS_H
+
#include "glad/glad.h"
#include <stdio.h>
@@ -100,3 +103,5 @@ compileProgram(const char* headerSource,
return program;
}
+
+#endif // EXAMPLES_SHADER_UTILS_H