Fix regression from commit 3539ac6212d506128bd38aad032e0363e78cb4f6.

Signed-off-by: Marc-André Lureau <marcandre.lur...@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

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to