glthread: call _mesa_glthread_DeleteBuffers unconditionally

Deleted buffers were not unbound in glthread.

Fixes: 4fa24747b9 - glthread: call _mesa_glthread_BindBuffer unconditionally

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17976>
(cherry picked from commit 28e351673e)
This commit is contained in:
Marek Olšák
2022-08-09 19:15:35 -04:00
committed by Dylan Baker
parent fa4c949150
commit dbc956920f
2 changed files with 2 additions and 2 deletions

View File

@@ -364,7 +364,7 @@
"description": "glthread: call _mesa_glthread_DeleteBuffers unconditionally",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "4fa24747b9089bda0453051e5fd5188e6fce6996"
},

View File

@@ -5116,7 +5116,7 @@
</function>
<function name="DeleteBuffers" es1="1.1" es2="2.0" no_error="true"
marshal_call_after="if (COMPAT) _mesa_glthread_DeleteBuffers(ctx, n, buffer);">
marshal_call_after="_mesa_glthread_DeleteBuffers(ctx, n, buffer);">
<param name="n" type="GLsizei" counter="true"/>
<param name="buffer" type="const GLuint *" count="n"/>
<glx ignore="true"/>