RGBA8 format
This commit is contained in:
parent
550590d6ee
commit
1576d9a8b3
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ WindowVulkan::WindowVulkan(std::uint32_t width, std::uint32_t height) : Window(w
|
|||
// Initialize the format to the first one returned by the implementation in case we can't find one of the preffered formats
|
||||
VkSurfaceFormatKHR selectedFormat = surfaceFormats[0];
|
||||
std::vector<VkFormat> preferredImageFormats = {
|
||||
VK_FORMAT_B8G8R8A8_UNORM,
|
||||
VK_FORMAT_R8G8B8A8_UNORM,
|
||||
};
|
||||
|
||||
for (auto& availableFormat : surfaceFormats) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue