mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 03:50:13 +01:00
r300: fix locked_zbuffer leak
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36447>
This commit is contained in:
parent
31aea50093
commit
16ffa0a490
1 changed files with 1 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ static void r300_release_referenced_objects(struct r300_context *r300)
|
|||
|
||||
/* Manually-created vertex buffers. */
|
||||
pipe_vertex_buffer_unreference(&r300->dummy_vb);
|
||||
pipe_surface_reference(&r300->locked_zbuffer, NULL);
|
||||
radeon_bo_reference(r300->rws, &r300->vbo, NULL);
|
||||
|
||||
r300->context.delete_depth_stencil_alpha_state(&r300->context,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue