diff options
Diffstat (limited to 'test/test_timer.c')
-rw-r--r-- | test/test_timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_timer.c b/test/test_timer.c index 2a0b67f..d567da0 100644 --- a/test/test_timer.c +++ b/test/test_timer.c @@ -55,9 +55,9 @@ typedef enum { } State; typedef struct { - PuglTestOptions opts; PuglWorld* world; PuglView* view; + PuglTestOptions opts; size_t numAlarms; State state; } PuglTest; @@ -97,9 +97,9 @@ roundPeriod(const double period) 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), 0, START}; |