diff options
Diffstat (limited to 'pugl/pugl_internal.h')
-rw-r--r-- | pugl/pugl_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/pugl_internal.h b/pugl/pugl_internal.h index 57b026f..ac31b65 100644 --- a/pugl/pugl_internal.h +++ b/pugl/pugl_internal.h @@ -252,13 +252,13 @@ puglDispatchEvent(PuglView* view, const PuglEvent* event) case PUGL_CONFIGURE: view->width = (int)event->configure.width; view->height = (int)event->configure.height; - puglEnterContext(view); + puglEnterContext(view, false); view->eventFunc(view, event); puglLeaveContext(view, false); break; case PUGL_EXPOSE: if (event->expose.count == 0) { - puglEnterContext(view); + puglEnterContext(view, true); view->eventFunc(view, event); puglLeaveContext(view, true); } |