aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_gl_hints.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_gl_hints.c')
-rw-r--r--test/test_gl_hints.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_gl_hints.c b/test/test_gl_hints.c
index 701dd77..7e91035 100644
--- a/test/test_gl_hints.c
+++ b/test/test_gl_hints.c
@@ -34,7 +34,7 @@ main(void)
puglSetWindowTitle(view, "Pugl OpenGL Hints Test");
puglSetBackend(view, puglGlBackend());
puglSetEventFunc(view, onEvent);
- puglSetDefaultSize(view, 512, 512);
+ puglSetSizeHint(view, PUGL_DEFAULT_SIZE, 512, 512);
// Check invalid cases
assert(puglSetViewHint(view, PUGL_USE_COMPAT_PROFILE, PUGL_DONT_CARE) ==