[PATCH 2/2] wined3d: Print a d3d_perf warning if unable to allocate an upload BO.
Zebediah Figura
zfigura at codeweavers.com
Thu Feb 24 20:22:18 CST 2022
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
dlls/wined3d/cs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/wined3d/cs.c b/dlls/wined3d/cs.c
index 827b7fbdc0b..ce71abf3a31 100644
--- a/dlls/wined3d/cs.c
+++ b/dlls/wined3d/cs.c
@@ -3216,6 +3216,8 @@ static bool wined3d_cs_map_upload_bo(struct wined3d_device_context *context, str
return true;
}
+ WARN_(d3d_perf)("Unable to allocate an upload BO for resource type %#x, map flags %#x.\n", resource->type, flags);
+
return false;
}
--
2.35.1
More information about the wine-devel
mailing list