mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 18:30:42 +02:00
llvmpipe: fix surface memory leak during tear-down
This commit is contained in:
parent
1550de98e6
commit
5f53ecb97f
1 changed files with 2 additions and 0 deletions
|
|
@ -762,6 +762,8 @@ lp_setup_destroy( struct lp_setup_context *setup )
|
|||
|
||||
reset_context( setup );
|
||||
|
||||
util_unreference_framebuffer_state(&setup->fb);
|
||||
|
||||
for (i = 0; i < Elements(setup->fs.current_tex); i++) {
|
||||
pipe_resource_reference(&setup->fs.current_tex[i], NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue