aboutsummaryrefslogtreecommitdiffstats
path: root/examples/cube_view.h
diff options
context:
space:
mode:
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