D3D11: Remove support for BGRA textures and preferred framebuffer formats

This commit is contained in:
Henrik Rydgård committed 2026-07-03 16:20:22 +02:00
1 parent 171db92e7f
commit 90c48671d7
14 files changed
+21 -62

No files matched your search

+1 -1
View File
@@ -1384,7 +1384,7 @@ Draw::Texture *FramebufferManagerCommon::MakePixelTexture(const u8 *srcPixels, G
XXH3_freeState(hashState);
}
Draw::DataFormat texFormat = preferredPixelsFormat_;
Draw::DataFormat texFormat = Draw::DataFormat::R8G8B8A8_UNORM;
if (srcPixelFormat == GE_FORMAT_DEPTH16) {
if ((draw_->GetDataFormatSupport(Draw::DataFormat::R16_UNORM) & Draw::FMT_TEXTURE) != 0) {