diff options
author | David Robillard <d@drobilla.net> | 2020-03-15 18:14:19 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-15 20:53:37 +0100 |
commit | 87351f2a8aaaad988b44e985ac5240af43d331e3 (patch) | |
tree | 3631d55d2fbf5e8a4e2fe97d4dd3845400d93ddb /examples/pugl_cairo_demo.c | |
parent | 9f1467c2173c487e35522139abc54d583a4078e9 (diff) | |
download | pugl-87351f2a8aaaad988b44e985ac5240af43d331e3.tar.gz pugl-87351f2a8aaaad988b44e985ac5240af43d331e3.tar.bz2 pugl-87351f2a8aaaad988b44e985ac5240af43d331e3.zip |
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.
Diffstat (limited to 'examples/pugl_cairo_demo.c')
-rw-r--r-- | examples/pugl_cairo_demo.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 }; |