[Spice-devel] [PATCH spice-gtk 3/5] egl: bind the scanout texture
Marc-André Lureau
marcandre.lureau at gmail.com
Tue May 24 19:31:24 UTC 2016
Fix regression from commit 3539ac6212d506128bd38aad032e0363e78cb4f6.
Signed-off-by: Marc-André Lureau <marcandre.lureau at gmail.com>
---
src/spice-widget-egl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c
index c60765c..1557fdc 100644
--- a/src/spice-widget-egl.c
+++ b/src/spice-widget-egl.c
@@ -672,6 +672,7 @@ gboolean spice_egl_update_scanout(SpiceDisplay *display,
if (!gl_make_current(display, NULL))
return FALSE;
+ glBindTexture(GL_TEXTURE_2D, d->egl.tex_id);
glEGLImageTargetTexture2DOES(GL_TEXTURE_2D, (GLeglImageOES)d->egl.image);
#endif
--
2.7.4
More information about the Spice-devel
mailing list