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 5ca5902..3533a0c 100644
--- a/test/test_gl_hints.c
+++ b/test/test_gl_hints.c
@@ -33,7 +33,7 @@ main(void)
puglSetBackend(view, puglGlBackend());
puglSetEventFunc(view, onEvent);
puglSetSizeHint(view, PUGL_DEFAULT_SIZE, 256, 256);
- puglSetPosition(view, 128, 128);
+ puglSetPositionHint(view, PUGL_DEFAULT_POSITION, 128, 128);
// Check invalid cases
assert(puglSetViewHint(view, PUGL_CONTEXT_API, PUGL_DONT_CARE) ==