(gl_raster_font.c) Certain code will only work for GL 3.0 and up

This commit is contained in:
neville 2015-07-19 22:58:52 +02:00
parent f482789c55
commit c43e33a816

View File

@ -71,7 +71,7 @@ static bool gl_raster_font_upload_atlas(gl_raster_t *font,
}
#ifdef HAVE_OPENGLES
(void)modern;
#else
#elif defined(GL_VERSION_3_0)
else if (modern)
{
GLint swizzle[] = { GL_ONE, GL_ONE, GL_ONE, GL_RED };