mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 09:00:08 +01:00
r300g: unreference a zbuffer surface after decompression
This commit is contained in:
parent
56b39fcd8b
commit
7297f2ac3c
1 changed files with 2 additions and 0 deletions
|
|
@ -377,6 +377,8 @@ void r300_decompress_zmask_locked(struct r300_context *r300)
|
|||
r300_decompress_zmask_locked_unsafe(r300);
|
||||
r300->context.set_framebuffer_state(&r300->context, &saved_fb);
|
||||
util_unreference_framebuffer_state(&saved_fb);
|
||||
|
||||
pipe_surface_reference(&r300->locked_zbuffer, NULL);
|
||||
}
|
||||
|
||||
/* Copy a block of pixels from one surface to another using HW. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue