On Fri, 11 Feb 2022 at 02:03, Zebediah Figura zfigura@codeweavers.com wrote:
dlls/wined3d/adapter_vk.c | 24 +++++++++---- dlls/wined3d/context_gl.c | 61 ++++++++++++++++++++-------------- dlls/wined3d/context_vk.c | 20 ++++++++--- dlls/wined3d/directx.c | 9 +++++ dlls/wined3d/wined3d_private.h | 9 +++++ 5 files changed, 87 insertions(+), 36 deletions(-)
The subject line is probably missing a "MiB".
@@ -2916,6 +2913,9 @@ map: bo->b.map_ptr = GL_EXTCALL(glMapBuffer(bo->binding, wined3d_resource_gl_legacy_map_flags(flags))); }
- if (bo->b.map_ptr)
adapter_adjust_mapped_memory(device_gl->d.adapter, -bo->size);
Shouldn't we be increasing the mapped memory count here?