[PATCH] wined3d: Fix typo in wined3d_texture_vk_prepare_texture().

Jan Sikorski jsikorski at codeweavers.com
Fri Jun 11 08:29:06 CDT 2021


Signed-off-by: Jan Sikorski <jsikorski at codeweavers.com>
---
 dlls/wined3d/texture.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c
index c77de1796c4..165d83eb035 100644
--- a/dlls/wined3d/texture.c
+++ b/dlls/wined3d/texture.c
@@ -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)
         {
-- 
2.29.2




More information about the wine-devel mailing list