aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_gl3_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_gl3_demo.c')
-rw-r--r--examples/pugl_gl3_demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_gl3_demo.c b/examples/pugl_gl3_demo.c
index ec36d16..e0c63ca 100644
--- a/examples/pugl_gl3_demo.c
+++ b/examples/pugl_gl3_demo.c
@@ -260,7 +260,7 @@ static void
setupPugl(PuglTestApp* app, const PuglRect frame)
{
// Create world, view, and rect data
- app->world = puglNewWorld();
+ app->world = puglNewWorld(PUGL_PROGRAM, 0);
app->view = puglNewView(app->world);
app->rects = makeRects(app->numRects);