fix typo
This commit is contained in:
parent
fbcb0e8a4a
commit
c42238a456
2
vulkan.d
2
vulkan.d
@ -1089,7 +1089,7 @@ CreateImageView(Vulkan* vk, ImageView* view, u32 w, u32 h, Format format, ImageU
|
|||||||
view.depth_image = usage == IU.Depth;
|
view.depth_image = usage == IU.Depth;
|
||||||
view.usage = usage;
|
view.usage = usage;
|
||||||
|
|
||||||
if(usage == IU.Draw || usage == UI.Depth)
|
if(usage == IU.Draw || usage == IU.Depth)
|
||||||
{
|
{
|
||||||
view.shader_layout = ImageLayout.General;
|
view.shader_layout = ImageLayout.General;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user