aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_show_hide.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-15 18:14:19 +0100
committerDavid Robillard <d@drobilla.net>2020-03-15 20:53:37 +0100
commit87351f2a8aaaad988b44e985ac5240af43d331e3 (patch)
tree3631d55d2fbf5e8a4e2fe97d4dd3845400d93ddb /test/test_show_hide.c
parent9f1467c2173c487e35522139abc54d583a4078e9 (diff)
downloadpugl-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 'test/test_show_hide.c')
-rw-r--r--test/test_show_hide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_show_hide.c b/test/test_show_hide.c
index 4877388..b942f45 100644
--- a/test/test_show_hide.c
+++ b/test/test_show_hide.c
@@ -107,7 +107,7 @@ int
main(int argc, char** argv)
{
PuglTest test = {puglParseTestOptions(&argc, &argv),
- puglNewWorld(),
+ puglNewWorld(PUGL_PROGRAM, 0),
NULL,
START};