mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
Merge pull request #12682 from QuarkTheAwesome/wiiu-fontalias
(Wii U) Font rendering fixes
This commit is contained in:
commit
28043d88b0
@ -65,7 +65,7 @@ static void* wiiu_font_init_font(void* data, const char* font_path,
|
||||
font->texture.viewNumSlices = 1;
|
||||
|
||||
font->texture.surface.format = GX2_SURFACE_FORMAT_UNORM_R8;
|
||||
font->texture.compMap = GX2_COMP_SEL(_R, _R, _R, _R);
|
||||
font->texture.compMap = GX2_COMP_SEL(_1, _1, _1, _R);
|
||||
|
||||
GX2CalcSurfaceSizeAndAlignment(&font->texture.surface);
|
||||
GX2InitTextureRegs(&font->texture);
|
||||
@ -258,7 +258,7 @@ static void wiiu_font_render_message(
|
||||
return;
|
||||
}
|
||||
|
||||
line_height = scale / line_metrics->height;
|
||||
line_height = line_metrics->height * scale / wiiu->vp.height;
|
||||
|
||||
for (;;)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user