(Android) Fixed a font rendering issue on some devices

This commit is contained in:
Leon Styhre 2023-12-01 22:32:59 +01:00
parent e9457306a8
commit 27feef1b23
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
//
// EmulationStation Desktop Edition
// ES-DE
// RendererOpenGL.cpp
//
// OpenGL / OpenGL ES renderering functions.
@ -112,7 +112,7 @@ GLenum RendererOpenGL::convertTextureType(const TextureType type)
#else
case TextureType::BGRA: { return GL_BGRA; } break;
#endif
#if defined(__EMSCRIPTEN__)
#if defined(__EMSCRIPTEN__) || defined(__ANDROID__)
case TextureType::RED: { return GL_LUMINANCE; } break;
#else
case TextureType::RED: { return GL_RED; } break;

View file

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
//
// EmulationStation Desktop Edition
// ES-DE
// RendererOpenGL.h
//
// OpenGL / OpenGL ES renderering functions.