mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Revert "Cleanups"
This reverts commit d239bee4e8ec0c90f81b9eedcede6ab43cf71012.
This commit is contained in:
parent
d0a87a236d
commit
0c0134d4d6
@ -473,7 +473,6 @@ static void xmb_draw_text(xmb_handle_t *xmb,
|
||||
enum text_alignment text_align,
|
||||
unsigned width, unsigned height)
|
||||
{
|
||||
int font_size;
|
||||
settings_t *settings = config_get_ptr();
|
||||
struct font_params params;
|
||||
uint8_t a8 = 0;
|
||||
@ -490,10 +489,8 @@ static void xmb_draw_text(xmb_handle_t *xmb,
|
||||
|| y < -xmb->icon.size || y > height + xmb->icon.size)
|
||||
return;
|
||||
|
||||
menu_display_ctl(MENU_DISPLAY_CTL_FONT_SIZE, &font_size);
|
||||
|
||||
params.x = x / width;
|
||||
params.y = 1.0f - (y + font_size / 3) / height;
|
||||
params.y = 1.0f - y / height;
|
||||
params.scale = scale_factor;
|
||||
params.drop_mod = 0.0f;
|
||||
params.drop_x = 0.0f;
|
||||
|
Loading…
x
Reference in New Issue
Block a user