(gl_raster_font.c) Certain code will only work for GL 3.0 and up
This commit is contained in:
parent
f482789c55
commit
c43e33a816
|
@ -71,7 +71,7 @@ static bool gl_raster_font_upload_atlas(gl_raster_t *font,
|
||||||
}
|
}
|
||||||
#ifdef HAVE_OPENGLES
|
#ifdef HAVE_OPENGLES
|
||||||
(void)modern;
|
(void)modern;
|
||||||
#else
|
#elif defined(GL_VERSION_3_0)
|
||||||
else if (modern)
|
else if (modern)
|
||||||
{
|
{
|
||||||
GLint swizzle[] = { GL_ONE, GL_ONE, GL_ONE, GL_RED };
|
GLint swizzle[] = { GL_ONE, GL_ONE, GL_ONE, GL_RED };
|
||||||
|
|
Loading…
Reference in New Issue