glthread: remove if (COMPAT) conditions from functions that are GL-compat-only

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8297>
This commit is contained in:
Marek Olšák 2020-12-23 12:30:13 -05:00 committed by Marge Bot
parent df38b99e85
commit fd678bef40

View file

@ -1111,14 +1111,14 @@
<type name="DEBUGPROC" size="4" pointer="true"/>
<function name="NewList" deprecated="3.1"
marshal_call_after="if (COMPAT) ctx->GLThread.ListMode = mode;">
marshal_call_after="ctx->GLThread.ListMode = mode;">
<param name="list" type="GLuint"/>
<param name="mode" type="GLenum"/>
<glx sop="101"/>
</function>
<function name="EndList" deprecated="3.1"
marshal_call_after="if (COMPAT) ctx->GLThread.ListMode = 0;">
marshal_call_after="ctx->GLThread.ListMode = 0;">
<glx sop="102"/>
</function>
@ -3402,12 +3402,12 @@
</function>
<function name="PopClientAttrib" deprecated="3.1"
marshal_call_after="if (COMPAT) _mesa_glthread_PopClientAttrib(ctx);">
marshal_call_after="_mesa_glthread_PopClientAttrib(ctx);">
<glx handcode="true"/>
</function>
<function name="PushClientAttrib" deprecated="3.1"
marshal_call_after="if (COMPAT) _mesa_glthread_PushClientAttrib(ctx, mask, false);">
marshal_call_after="_mesa_glthread_PushClientAttrib(ctx, mask, false);">
<param name="mask" type="GLbitfield"/>
<glx handcode="true"/>
</function>