On 09/11/17 07:07 PM, Adam Jackson wrote:
> If the context is direct none of the GL commands were issued by this
> process, the server couldn't flush them even if it wanted to.
>
> Signed-off-by: Adam Jackson <[email protected]>
> ---
> glx/glxcmds.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/glx/glxcmds.c b/glx/glxcmds.c
> index 241abc6a5..421129a4d 100644
> --- a/glx/glxcmds.c
> +++ b/glx/glxcmds.c
> @@ -626,7 +626,7 @@ DoMakeCurrent(__GLXclientState * cl,
> /*
> ** Flush the previous context if needed.
> */
> - Bool need_flush = GL_TRUE;
> + Bool need_flush = prevglxc->isDirect;
Should be
Bool need_flush = !prevglxc->isDirect;
to match the commit log?
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel