Commit 11ff12d4 authored by Eric Anholt's avatar Eric Anholt

glamor: Stop unsetting the EGL context in put_context().

This matches the Xephyr behavior.  Now that we know when to reset the
context in the presence of GLX, we don't need to try to keep our stuff
from being smashed by GLX.
Signed-off-by: Eric Anholt's avatarEric Anholt <>
Reviewed-by: Michel Dänzer's avatarMichel Dänzer <>
Reviewed-by: Adam Jackson's avatarAdam Jackson <>
parent b5e394b3
......@@ -112,11 +112,7 @@ glamor_egl_get_context(struct glamor_context *glamor_ctx)
static void
glamor_egl_put_context(struct glamor_context *glamor_ctx)
if (--glamor_ctx->get_count)
eglMakeCurrent(glamor_ctx->display, EGL_NO_SURFACE,
static EGLImageKHR
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment