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:
parent
9fd51e4d74
commit
2d44949360
|
@ -5139,7 +5139,7 @@ BOOL wined3d_texture_vk_prepare_texture(struct wined3d_texture_vk *texture_vk,
|
||||||
vk_usage |= VK_IMAGE_USAGE_STORAGE_BIT;
|
vk_usage |= VK_IMAGE_USAGE_STORAGE_BIT;
|
||||||
|
|
||||||
texture_vk->layout = VK_IMAGE_LAYOUT_GENERAL;
|
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)
|
switch (resource->bind_flags)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue