mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(Metal raster font) Remove dependency on video_info
This commit is contained in:
parent
783f16b198
commit
35a528a3e0
@ -524,8 +524,10 @@ static void metal_raster_font_render_msg(
|
||||
const struct font_params *params)
|
||||
{
|
||||
MetalRaster *r = (__bridge MetalRaster *)data;
|
||||
unsigned width = video_info->width;
|
||||
unsigned height = video_info->height;
|
||||
MetalDriver *d = (__bridge MetalDriver *)userdata;
|
||||
video_viewport_t *vp = [d viewport];
|
||||
unsigned width = vp->full_width;
|
||||
unsigned height = vp->full_height;
|
||||
[r renderMessage:msg width:width height:height params:params];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user