aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_window_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_window_demo.c')
-rw-r--r--examples/pugl_window_demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_window_demo.c b/examples/pugl_window_demo.c
index 18def43..394b959 100644
--- a/examples/pugl_window_demo.c
+++ b/examples/pugl_window_demo.c
@@ -181,7 +181,7 @@ main(int argc, char** argv)
app.continuous = opts.continuous;
app.verbose = opts.verbose;
- app.world = puglNewWorld();
+ app.world = puglNewWorld(PUGL_PROGRAM, 0);
app.cubes[0].view = puglNewView(app.world);
app.cubes[1].view = puglNewView(app.world);