From 14ff89d0c0d121bf317d24bb03901659526cf4ae Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 3 Dec 2024 13:28:19 +1000 Subject: [PATCH] MetalDevice: Fix incorrect pixel format for RGB5A1 --- src/util/metal_device.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/metal_device.mm b/src/util/metal_device.mm index e6ee3a91ee..745606ba6e 100644 --- a/src/util/metal_device.mm +++ b/src/util/metal_device.mm @@ -50,7 +50,7 @@ MTLPixelFormatRGBA8Unorm, // RGBA8 MTLPixelFormatBGRA8Unorm, // BGRA8 MTLPixelFormatB5G6R5Unorm, // RGB565 - MTLPixelFormatA1BGR5Unorm, // RGB5A1 + MTLPixelFormatBGR5A1Unorm, // RGB5A1 MTLPixelFormatR8Unorm, // R8 MTLPixelFormatDepth16Unorm, // D16 MTLPixelFormatDepth24Unorm_Stencil8, // D24S8