aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_win.c')
-rw-r--r--pugl/pugl_win.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pugl/pugl_win.c b/pugl/pugl_win.c
index 8371b1e..1c93ea6 100644
--- a/pugl/pugl_win.c
+++ b/pugl/pugl_win.c
@@ -139,6 +139,7 @@ puglLeaveContext(PuglView* view, bool flush)
}
#endif
+ wglMakeCurrent(NULL, NULL);
}
static PIXELFORMATDESCRIPTOR