aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_update.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_update.c')
-rw-r--r--test/test_update.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_update.c b/test/test_update.c
index 65d74d6..bdcb28b 100644
--- a/test/test_update.c
+++ b/test/test_update.c
@@ -44,9 +44,9 @@ typedef enum {
} State;
typedef struct {
- PuglTestOptions opts;
PuglWorld* world;
PuglView* view;
+ PuglTestOptions opts;
State state;
} PuglTest;
@@ -90,9 +90,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