mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
(GX2) Use correct pixelformat ordering for menu texture
This fixes up some backwards colours on wiiu, resulting in all the themes looking lovely.
This commit is contained in:
parent
faf612098f
commit
87be0d366f
@ -333,7 +333,8 @@ static void *wiiu_gfx_init(const video_info_t *video,
|
||||
wiiu->menu.texture.surface.format = GX2_SURFACE_FORMAT_UNORM_R4_G4_B4_A4;
|
||||
wiiu->menu.texture.surface.tileMode = GX2_TILE_MODE_LINEAR_ALIGNED;
|
||||
wiiu->menu.texture.viewNumSlices = 1;
|
||||
wiiu->menu.texture.compMap = GX2_COMP_SEL(_A, _R, _G, _B);
|
||||
/* Presumably an endian thing. RGBA, but swap R and G, then B and A. */
|
||||
wiiu->menu.texture.compMap = GX2_COMP_SEL(_G, _R, _A, _B);
|
||||
GX2CalcSurfaceSizeAndAlignment(&wiiu->menu.texture.surface);
|
||||
GX2InitTextureRegs(&wiiu->menu.texture);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user