aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_internal.h')
-rw-r--r--pugl/pugl_internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/pugl/pugl_internal.h b/pugl/pugl_internal.h
index 05381fa..2860a7f 100644
--- a/pugl/pugl_internal.h
+++ b/pugl/pugl_internal.h
@@ -56,13 +56,12 @@ puglInit(int* pargc, char** argv)
return NULL;
}
- view->hints = puglDefaultHints();
-
PuglInternals* impl = puglInitInternals();
if (!impl) {
return NULL;
}
+ view->hints = puglDefaultHints();
view->ctx_type = PUGL_GL;
view->impl = impl;
view->width = 640;