aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/egl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/render/egl.c b/render/egl.c
index ec00a12f..3003c9c5 100644
--- a/render/egl.c
+++ b/render/egl.c
@@ -449,6 +449,8 @@ bool wlr_egl_swap_buffers(struct wlr_egl *egl, EGLSurface surface,
wlr_log(WLR_ERROR, "eglSwapBuffers failed");
return false;
}
+
+ wlr_egl_unset_current(egl);
return true;
}