wined3d: Fix typo in wined3d_texture_vk_prepare_texture().

Signed-off-by: Jan Sikorski <jsikorski@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jan Sikorski 2021-06-11 15:29:06 +02:00 committed by Alexandre Julliard
parent 9fd51e4d74
commit 2d44949360
1 changed files with 1 additions and 1 deletions

View File

@ -5139,7 +5139,7 @@ BOOL wined3d_texture_vk_prepare_texture(struct wined3d_texture_vk *texture_vk,
vk_usage |= VK_IMAGE_USAGE_STORAGE_BIT;
texture_vk->layout = VK_IMAGE_LAYOUT_GENERAL;
if (wined3d_popcount(resource->bind_flags == 1))
if (wined3d_popcount(resource->bind_flags) == 1)
{
switch (resource->bind_flags)
{