VK: Fall back to supported surface format and composite alpha. Fixes #4032. (#4035)

This commit is contained in:
Branimir Karadžić
2026-10-08 21:47:03 -07:00
committed by GitHub
parent 182d8c7553
commit 8f451e9102
5 changed files with 186 additions and 17 deletions
+1
View File
@@ -1478,6 +1478,7 @@ WGPU_IMPORT
}
g_caps.formats[TextureFormat::BGRA8] |= BGFX_CAPS_FORMAT_TEXTURE_BACKBUFFER;
g_caps.formats[TextureFormat::RGBA8] |= BGFX_CAPS_FORMAT_TEXTURE_BACKBUFFER;
}
}