mirror of
https://github.com/libretro/RetroArch
synced 2025-01-01 12:11:47 +00:00
(gl_raster_font.c) Add early return in case gl pointer is NULL
This commit is contained in:
parent
65b628cf20
commit
4f1ab1f9c3
@ -429,6 +429,9 @@ static void gl_raster_font_render_msg(void *data, const char *msg,
|
||||
|
||||
gl = font->gl;
|
||||
|
||||
if (!gl)
|
||||
return;
|
||||
|
||||
if (params)
|
||||
{
|
||||
x = params->x;
|
||||
|
Loading…
Reference in New Issue
Block a user