Re: [PATCH spice-gtk 3/5] egl: bind the scanout texture

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

What about binding the texture in gl_make_current ?

More info about the regression in the commit log would be nice.

Pavel

On Tue, 2016-05-24 at 21:31 +0200, Marc-André Lureau wrote:
> Fix regression from commit 3539ac6212d506128bd38aad032e0363e78cb4f6.
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>
> ---
>  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
>  
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]