mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
(WiiU/3DS) Fix font driver horizontal text alignment
This commit is contained in:
parent
3fa60d08de
commit
6c49ae5152
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user