mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
(Android) Fixed a font rendering issue on some devices
This commit is contained in:
parent
e9457306a8
commit
27feef1b23
|
@ -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;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
//
|
||||
// EmulationStation Desktop Edition
|
||||
// ES-DE
|
||||
// RendererOpenGL.h
|
||||
//
|
||||
// OpenGL / OpenGL ES renderering functions.
|
||||
|
|
Loading…
Reference in a new issue