aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_timer.c')
-rw-r--r--test/test_timer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_timer.c b/test/test_timer.c
index 1c9f281..8015b9a 100644
--- a/test/test_timer.c
+++ b/test/test_timer.c
@@ -8,10 +8,10 @@
#undef NDEBUG
-#include "test_utils.h"
+#include <puglutil/test_utils.h>
-#include "pugl/pugl.h"
-#include "pugl/stub.h"
+#include <pugl/pugl.h>
+#include <pugl/stub.h>
#include <assert.h>
#include <math.h>
@@ -19,7 +19,7 @@
#include <stdint.h>
#include <stdio.h>
-#define NUM_TIMERS 4U // NOLINT(modernize-macro-to-enum)
+#define NUM_TIMERS 4U // NOLINT(*-macro-to-enum)
#ifdef __APPLE__
static const double timeout = 1 / 60.0;
@@ -157,7 +157,7 @@ main(int argc, char** argv)
puglSetHandle(test.view, &test);
puglSetEventFunc(test.view, onEvent);
puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 256, 256);
- puglSetPosition(test.view, 896, 384);
+ puglSetPositionHint(test.view, PUGL_DEFAULT_POSITION, 896, 384);
// Create and show window
assert(!puglRealize(test.view));