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. --- test/test_redisplay.c | 2 +- test/test_show_hide.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/test_redisplay.c b/test/test_redisplay.c index f5f0707..4470053 100644 --- a/test/test_redisplay.c +++ b/test/test_redisplay.c @@ -96,7 +96,7 @@ int main(int argc, char** argv) { PuglTest app = {puglParseTestOptions(&argc, &argv), - puglNewWorld(), + puglNewWorld(PUGL_PROGRAM, 0), NULL, START}; 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}; -- cgit v1.2.1