aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_gl_free_unrealized.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_gl_free_unrealized.c')
-rw-r--r--test/test_gl_free_unrealized.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_gl_free_unrealized.c b/test/test_gl_free_unrealized.c
index 783ffb8..04a23db 100644
--- a/test/test_gl_free_unrealized.c
+++ b/test/test_gl_free_unrealized.c
@@ -49,7 +49,7 @@ main(int argc, char** argv)
puglSetBackend(test.view, puglGlBackend());
puglSetHandle(test.view, &test);
puglSetEventFunc(test.view, onEvent);
- puglSetDefaultSize(test.view, 512, 512);
+ puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 512, 512);
assert(!puglGetVisible(test.view));