aboutsummaryrefslogtreecommitdiff
path: root/test/pugl_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/pugl_test.c')
-rw-r--r--test/pugl_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pugl_test.c b/test/pugl_test.c
index dfc06c6..b83263f 100644
--- a/test/pugl_test.c
+++ b/test/pugl_test.c
@@ -24,6 +24,7 @@
#include "pugl/gl.h"
#include "pugl/pugl.h"
+#include "pugl/pugl_gl_backend.h"
#include <locale.h>
#include <math.h>
@@ -171,6 +172,7 @@ main(int argc, char** argv)
puglInitWindowSize(view, 512, 512);
puglInitWindowMinSize(view, 256, 256);
puglInitWindowAspectRatio(view, 1, 1, 16, 9);
+ puglInitBackend(view, puglGlBackend());
puglInitWindowHint(view, PUGL_RESIZABLE, resizable);
puglInitWindowHint(view, PUGL_SAMPLES, samples);