aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_shader_demo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2025-02-09 10:18:39 -0500
committerDavid Robillard <d@drobilla.net>2025-02-09 10:40:23 -0500
commit39efe0c1044e0777d118f95259947c5216942a4e (patch)
tree4ce94b29c1a69843b625052d7bc8efe635394dc3 /examples/pugl_shader_demo.c
parent3baf1ae8b44a5b9e805372b042ec5d7e750ac038 (diff)
downloadpugl-39efe0c1044e0777d118f95259947c5216942a4e.tar.gz
pugl-39efe0c1044e0777d118f95259947c5216942a4e.tar.bz2
pugl-39efe0c1044e0777d118f95259947c5216942a4e.zip
Avoid including gl.h in pugl_shader_demo
This conflicts with GLAD.
Diffstat (limited to 'examples/pugl_shader_demo.c')
-rw-r--r--examples/pugl_shader_demo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/pugl_shader_demo.c b/examples/pugl_shader_demo.c
index 17135de..5bef21e 100644
--- a/examples/pugl_shader_demo.c
+++ b/examples/pugl_shader_demo.c
@@ -21,6 +21,8 @@
about 100000 rectangles.
*/
+#define PUGL_NO_INCLUDE_GL_H
+
#include "demo_utils.h"
#include "file_utils.h"
#include "rects.h"