aboutsummaryrefslogtreecommitdiff
path: root/examples/demo_utils.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-08 17:47:14 +0100
committerDavid Robillard <d@drobilla.net>2020-03-08 17:47:14 +0100
commitb03381600f56dbcf6aa6e2a211b721e555c6d2e1 (patch)
tree137957e781aba2b9c1a094924aaf2e2c9213bba5 /examples/demo_utils.h
parent5f2e299a2f0d86e450340079930b98651103722f (diff)
Factor out cube drawing
Diffstat (limited to 'examples/demo_utils.h')
-rw-r--r--examples/demo_utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/demo_utils.h b/examples/demo_utils.h
index 94be68e..9a1cb7a 100644
--- a/examples/demo_utils.h
+++ b/examples/demo_utils.h
@@ -14,6 +14,9 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifndef PUGL_DEMO_UTILS_H
+#define PUGL_DEMO_UTILS_H
+
#include "pugl/pugl.h"
#include <math.h>
@@ -168,3 +171,5 @@ puglPrintFps(const PuglWorld* world,
*framesDrawn = 0;
}
}
+
+#endif // PUGL_DEMO_UTILS_H