Skip to content
Snippets Groups Projects
Commit 4fa24747 authored by Chia-I Wu's avatar Chia-I Wu Committed by Marge Bot
Browse files

glthread: call _mesa_glthread_BindBuffer unconditionally


_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: e48f6768 ("glthread: don't sync for more glGetIntegerv enums for glretrace")
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Part-of: <!14659>
parent 061bf72a
No related branches found
No related tags found
No related merge requests found
......@@ -5092,7 +5092,7 @@
<type name="sizeiptr" size="4" unsigned="true" glx_name="CARD32"/>
 
<function name="BindBuffer" es1="1.1" es2="2.0" no_error="true"
marshal_call_after="if (COMPAT) _mesa_glthread_BindBuffer(ctx, target, buffer);">
marshal_call_after="_mesa_glthread_BindBuffer(ctx, target, buffer);">
<param name="target" type="GLenum"/>
<param name="buffer" type="GLuint"/>
<glx ignore="true"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment