aboutsummaryrefslogtreecommitdiffstats
path: root/test/pugl_cairo_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/pugl_cairo_test.c')
-rw-r--r--test/pugl_cairo_test.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/pugl_cairo_test.c b/test/pugl_cairo_test.c
index 20a96e7..f339abd 100644
--- a/test/pugl_cairo_test.c
+++ b/test/pugl_cairo_test.c
@@ -207,9 +207,8 @@ main(int argc, char** argv)
world = puglNewWorld();
- const PuglRect frame = { 0, 0, 512, 512 };
-
- PuglView* view = puglNewView(world);
+ PuglRect frame = { 0, 0, 512, 512 };
+ PuglView* view = puglNewView(world);
puglInitWindowClass(view, "PuglCairoTest");
puglSetFrame(view, frame);
puglInitWindowMinSize(view, 256, 256);