1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[dxvk] Release staging buffer memory for HUD context

We really don't want to waste 32MB of system RAM because of
one single texture update all the time.
This commit is contained in:
Philip Rebohle 2019-06-21 16:29:04 +02:00
parent 34cdba1df5
commit 62372f5d47
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -364,6 +364,8 @@ namespace dxvk::hud {
context->endRecording(), context->endRecording(),
VK_NULL_HANDLE, VK_NULL_HANDLE,
VK_NULL_HANDLE); VK_NULL_HANDLE);
context->trimStagingBuffers();
} }