Revert "Cleanups"

This reverts commit d239bee4e8ec0c90f81b9eedcede6ab43cf71012.
This commit is contained in:
twinaphex 2016-04-21 21:24:14 +02:00
parent d0a87a236d
commit 0c0134d4d6

View File

@ -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;