mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
D3D11: Remove support for BGRA textures and preferred framebuffer formats
This commit is contained in:
1 parent
171db92e7f
commit
90c48671d7
14 files changed
+21
-62
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user