From 4fa24747b9089bda0453051e5fd5188e6fce6996 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sat, 22 Jan 2022 01:03:07 -0800 Subject: [PATCH] glthread: call _mesa_glthread_BindBuffer unconditionally MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit _mesa_marshal_GetIntegerv expects those states to be tracked. I am not sure if this covers all states that _mesa_marshal_GetIntegerv needs, but this fixes Civ5 for virgl at least. Fixes: e48f676835d ("glthread: don't sync for more glGetIntegerv enums for glretrace") Reviewed-by: Marek Olšák Part-of: --- src/mapi/glapi/gen/gl_API.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index e5ca7af29cb..cc5d9488d84 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -5092,7 +5092,7 @@ + marshal_call_after="_mesa_glthread_BindBuffer(ctx, target, buffer);">