wined3d: Fill fake adapter video memory usage.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2022-05-18 14:49:21 +08:00 committed by Alexandre Julliard
parent 0f7c7cd7a0
commit 6ebfc35fc4
1 changed files with 1 additions and 1 deletions

View File

@ -1035,7 +1035,7 @@ HRESULT CDECL wined3d_adapter_get_video_memory_info(const struct wined3d_adapter
{
case WINED3D_MEMORY_SEGMENT_GROUP_LOCAL:
info->budget = adapter_id.video_memory;
info->current_usage = 0;
info->current_usage = adapter->vram_bytes_used;
info->available_reservation = adapter_id.video_memory / 2;
info->current_reservation = 0;
break;