Module: Mesa
Branch: main
Commit: 28e351673ef8c22c5ae0585f40e1cbd2b15eda5c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=28e351673ef8c22c5ae0585f40e1cbd2b15eda5c

Author: Marek Olšák <[email protected]>
Date:   Tue Aug  9 19:15:35 2022 -0400

glthread: call _mesa_glthread_DeleteBuffers unconditionally

Deleted buffers were not unbound in glthread.

Fixes: 4fa24747b9089b - glthread: call _mesa_glthread_BindBuffer unconditionally

Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17976>

---

 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 ebef7bed397..bffb0723287 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -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"/>

Reply via email to