(WiiU/3DS) Fix font driver horizontal text alignment

This commit is contained in:
jdgleaver 2020-04-20 16:20:21 +01:00
parent 3fa60d08de
commit 6c49ae5152
2 changed files with 4 additions and 4 deletions

View File

@ -369,8 +369,8 @@ static void ctr_font_render_msg(
alpha, r_dark, g_dark, b_dark, alpha_dark;
ctr_font_t * font = (ctr_font_t*)data;
ctr_video_t *ctr = (ctr_video_t*)userdata;
unsigned width = ctr->vp.width;
unsigned height = ctr->vp.height;
unsigned width = ctr->vp.full_width;
unsigned height = ctr->vp.full_height;
settings_t *settings = config_get_ptr();
float video_msg_pos_x = settings->floats.video_msg_pos_x;
float video_msg_pos_y = settings->floats.video_msg_pos_y;

View File

@ -299,8 +299,8 @@ static void wiiu_font_render_msg(
alpha, r_dark, g_dark, b_dark, alpha_dark;
wiiu_video_t *wiiu = (wiiu_video_t*)userdata;
wiiu_font_t *font = (wiiu_font_t*)data;
unsigned width = wiiu->vp.width;
unsigned height = wiiu->vp.height;
unsigned width = wiiu->vp.full_width;
unsigned height = wiiu->vp.full_height;
settings_t *settings = config_get_ptr();
float video_msg_pos_x = settings->floats.video_msg_pos_x;
float video_msg_pos_y = settings->floats.video_msg_pos_y;