(Metal) Buildfix

This commit is contained in:
Twinaphex 2020-03-10 03:37:48 +01:00
parent 8a4e8f4ae9
commit d81e756fa7

View File

@ -378,8 +378,8 @@
unsigned bgcolor_blue
= settings->uints.video_msg_bgcolor_blue;
float bgcolor_opacity = settings->floats.video_msg_bgcolor_opacity;
float x = video_info->font_msg_pos_x;
float y = 1.0f - video_info->font_msg_pos_y;
float x = settings->floats.video_msg_pos_x;
float y = 1.0f - settings->floats.video_msg_pos_y;
float width = msg_width / (float)_viewport->full_width;
float height = font_size / (float)_viewport->full_height;