(gl_raster_font.c) Add early return in case gl pointer is NULL

This commit is contained in:
twinaphex 2016-02-29 01:54:54 +01:00
parent 65b628cf20
commit 4f1ab1f9c3

View File

@ -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;