Commit 2473e83
committed
vk: Fix swapchain format selection
Some platforms don't support R8G8B8_UNORM, making the selection pick the
first format of the driver provided list (which could be sRGB).
Look for either R8G8B8_UNORM or B8G8R8A8_UNORM which should cover more
platforms.1 parent 81b21f9 commit 2473e83
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
569 | | - | |
| 569 | + | |
| 570 | + | |
570 | 571 | | |
571 | 572 | | |
572 | 573 | | |
| |||
0 commit comments