aboutsummaryrefslogtreecommitdiffstats
path: root/examples/cube_view.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/cube_view.h
parent063ddc8db2831e1f79d7569c8fc80dd3d54f5cda (diff)
downloadpugl-feb6c4f7952eafbc8c2203ef0c657ea3580ee441.tar.gz
pugl-feb6c4f7952eafbc8c2203ef0c657ea3580ee441.tar.bz2
pugl-feb6c4f7952eafbc8c2203ef0c657ea3580ee441.zip
Add missing include guards
Diffstat (limited to 'examples/cube_view.h')
-rw-r--r--examples/cube_view.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/cube_view.h b/examples/cube_view.h
index cf930a4..87bf3b5 100644
--- a/examples/cube_view.h
+++ b/examples/cube_view.h
@@ -14,6 +14,9 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifndef EXAMPLES_CUBE_VIEW_H
+#define EXAMPLES_CUBE_VIEW_H
+
#define GL_SILENCE_DEPRECATION 1
#include "demo_utils.h"
@@ -129,3 +132,5 @@ displayCube(PuglView* const view,
glDrawArrays(GL_LINES, 0, 8);
glDisableClientState(GL_VERTEX_ARRAY);
}
+
+#endif // EXAMPLES_CUBE_VIEW_H