mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-22 00:44:10 +00:00
wined3d: Do not print a d3d_perf warning in adapter_vk_alloc_bo() for unmapped BOs.
BOs will always be unmapped here. This is a relic from an older form of the code where mapping was done in wined3d_context_vk_create_bo(). Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f9cd4c915f
commit
1eabd77422
|
@ -21,7 +21,6 @@
|
|||
#include "wine/vulkan_driver.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(d3d);
|
||||
WINE_DECLARE_DEBUG_CHANNEL(d3d_perf);
|
||||
|
||||
static const struct wined3d_state_entry_template misc_state_template_vk[] =
|
||||
{
|
||||
|
@ -1287,9 +1286,6 @@ static bool adapter_vk_alloc_bo(struct wined3d_device *device, struct wined3d_re
|
|||
|
||||
if (!bo_vk->b.map_ptr)
|
||||
{
|
||||
WARN_(d3d_perf)("BO %p (chunk %p, slab %p) is not mapped.\n",
|
||||
bo_vk, bo_vk->memory ? bo_vk->memory->chunk : NULL, bo_vk->slab);
|
||||
|
||||
if (!wined3d_bo_vk_map(bo_vk, context_vk))
|
||||
ERR("Failed to map bo.\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue