Add image format
This commit is contained in:
parent
f90dfb6236
commit
c7b110392e
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ impl SkyBox {
|
||||||
images.top.try_into()?,
|
images.top.try_into()?,
|
||||||
images.bottom.try_into()?,
|
images.bottom.try_into()?,
|
||||||
])?
|
])?
|
||||||
|
.format(VK_FORMAT_R8G8B8A8_UNORM)
|
||||||
.max_mip_map_levels()
|
.max_mip_map_levels()
|
||||||
.attach_pretty_sampler(context.device())?
|
.attach_pretty_sampler(context.device())?
|
||||||
.build(context.device(), context.queue())?;
|
.build(context.device(), context.queue())?;
|
||||||
|
|
Loading…
Reference in a new issue