[Spice-devel] [PATCH spice-gtk 6/7] egl: don't terminate display
Marc-André Lureau
marcandre.lureau at gmail.com
Fri May 20 15:16:42 UTC 2016
This is global to the display connection: all egl resources will be
released, including those from other widgets or from the application.
Fix spice/virgl display being rendered black after another widget
display is destroyed.
Signed-off-by: Marc-André Lureau <marcandre.lureau at gmail.com>
---
src/spice-widget-egl.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c
index 5c24524..754fc20 100644
--- a/src/spice-widget-egl.c
+++ b/src/spice-widget-egl.c
@@ -387,7 +387,6 @@ void spice_egl_unrealize_display(SpiceDisplay *display)
eglMakeCurrent(d->egl.display, EGL_NO_SURFACE, EGL_NO_SURFACE,
EGL_NO_CONTEXT);
- eglTerminate(d->egl.display);
}
}
--
2.7.4
More information about the Spice-devel
mailing list