From 87351f2a8aaaad988b44e985ac5240af43d331e3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 15 Mar 2020 18:14:19 +0100 Subject: Add type and flags to world Unfortunately this is an API break, but there's no reasonable way to deprecate the old function and this is required for things to work correctly. The type will be used in following commits to tick the main loop and dispatch events correctly for either case. --- examples/pugl_cairo_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/pugl_cairo_demo.c') diff --git a/examples/pugl_cairo_demo.c b/examples/pugl_cairo_demo.c index da59e8c..d2e57f8 100644 --- a/examples/pugl_cairo_demo.c +++ b/examples/pugl_cairo_demo.c @@ -227,7 +227,7 @@ main(int argc, char** argv) return 1; } - app.world = puglNewWorld(); + app.world = puglNewWorld(PUGL_PROGRAM, 0); puglSetClassName(app.world, "PuglCairoTest"); PuglRect frame = { 0, 0, 512, 512 }; -- cgit v1.2.1