mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35: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
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
// EmulationStation Desktop Edition
|
// ES-DE
|
||||||
// RendererOpenGL.cpp
|
// RendererOpenGL.cpp
|
||||||
//
|
//
|
||||||
// OpenGL / OpenGL ES renderering functions.
|
// OpenGL / OpenGL ES renderering functions.
|
||||||
|
@ -112,7 +112,7 @@ GLenum RendererOpenGL::convertTextureType(const TextureType type)
|
||||||
#else
|
#else
|
||||||
case TextureType::BGRA: { return GL_BGRA; } break;
|
case TextureType::BGRA: { return GL_BGRA; } break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(__EMSCRIPTEN__)
|
#if defined(__EMSCRIPTEN__) || defined(__ANDROID__)
|
||||||
case TextureType::RED: { return GL_LUMINANCE; } break;
|
case TextureType::RED: { return GL_LUMINANCE; } break;
|
||||||
#else
|
#else
|
||||||
case TextureType::RED: { return GL_RED; } break;
|
case TextureType::RED: { return GL_RED; } break;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
// EmulationStation Desktop Edition
|
// ES-DE
|
||||||
// RendererOpenGL.h
|
// RendererOpenGL.h
|
||||||
//
|
//
|
||||||
// OpenGL / OpenGL ES renderering functions.
|
// OpenGL / OpenGL ES renderering functions.
|
||||||
|
|
Loading…
Reference in a new issue