aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_redisplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_redisplay.c')
-rw-r--r--test/test_redisplay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_redisplay.c b/test/test_redisplay.c
index 108a433..91b606f 100644
--- a/test/test_redisplay.c
+++ b/test/test_redisplay.c
@@ -47,9 +47,9 @@ typedef enum {
typedef struct
{
- PuglTestOptions opts;
PuglWorld* world;
PuglView* view;
+ PuglTestOptions opts;
State state;
} PuglTest;
@@ -100,9 +100,9 @@ onEvent(PuglView* view, const PuglEvent* event)
int
main(int argc, char** argv)
{
- PuglTest app = {puglParseTestOptions(&argc, &argv),
- puglNewWorld(PUGL_PROGRAM, 0),
+ PuglTest app = {puglNewWorld(PUGL_PROGRAM, 0),
NULL,
+ puglParseTestOptions(&argc, &argv),
START};
// Set up view