aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-20 20:51:11 +0200
committerDavid Robillard <d@drobilla.net>2019-07-20 21:44:20 +0200
commit5ba0ea7cd8cfec3f374f380a03e144e24f43a12c (patch)
treebe12e2309a90cbba75c86c8cb629a913e50ff623 /pugl/pugl_internal.h
parent4d0704bae2d4eb2a292caabda91d654a17104501 (diff)
downloadpugl-5ba0ea7cd8cfec3f374f380a03e144e24f43a12c.tar.gz
pugl-5ba0ea7cd8cfec3f374f380a03e144e24f43a12c.tar.bz2
pugl-5ba0ea7cd8cfec3f374f380a03e144e24f43a12c.zip
Remove redisplay flag and use system events instead
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;