mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
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> (cherry picked from commite11605321a)
This commit is contained in:
parent
2382dca2c5
commit
10b141aa89
2 changed files with 1 additions and 5 deletions
|
|
@ -144,7 +144,7 @@
|
|||
"description": "Revert \"d3d12: Fix screen->winsys leak in d3d12_screen\"",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "81c8e89ff8e846839fffc1d103b2080bef5c1b5c",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -735,10 +735,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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue