Commit 7c6c8a6
committed
rendervulkan: evict stale screenshot images, for reuse
Fixes a crash that happened when cycling through more than 2 screen recording
resolutions in the Steam client: pScreenshotImages would fill up and as a
consequence a call to vulkan_acquire_screenshot_texture with a new resolution
would return a null pointer.1 parent 71b07c8 commit 7c6c8a6
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3597 | 3597 | | |
3598 | 3598 | | |
3599 | 3599 | | |
| 3600 | + | |
| 3601 | + | |
| 3602 | + | |
| 3603 | + | |
| 3604 | + | |
| 3605 | + | |
| 3606 | + | |
| 3607 | + | |
| 3608 | + | |
3600 | 3609 | | |
3601 | 3610 | | |
3602 | 3611 | | |
| |||
0 commit comments