Revert "d3d12: Fix screen->winsys leak in d3d12_screen"
This reverts commit81c8e89ff8
. Fixes:81c8e89ff8
("d3d12: Fix screen->winsys leak in d3d12_screen") Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26872>
This commit is contained in:
@@ -766,10 +766,6 @@ d3d12_deinit_screen(struct d3d12_screen *screen)
|
||||
screen->dev->Release();
|
||||
screen->dev = nullptr;
|
||||
}
|
||||
if (screen->winsys) {
|
||||
screen->winsys->destroy(screen->winsys);
|
||||
screen->winsys = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user