Closed andystanton closed 9 years ago
Currently text is not displayed when using GLES3. This is because the call to glTexImage2D is incorrect: GL_LUMINANCE is used for GLES2 and GL_RED for GLES3. According to the documentation for this function in GLES 3, GL_LUMINANCE should be used.
GL_LUMINANCE
GL_RED
This condition was added by my PR (https://github.com/rougier/freetype-gl/pull/80) but only covered GLES2.
Thanks.
Currently text is not displayed when using GLES3. This is because the call to glTexImage2D is incorrect:
GL_LUMINANCE
is used for GLES2 andGL_RED
for GLES3. According to the documentation for this function in GLES 3,GL_LUMINANCE
should be used.This condition was added by my PR (https://github.com/rougier/freetype-gl/pull/80) but only covered GLES2.