diff --git a/core/jni/android/opengl/util.cpp b/core/jni/android/opengl/util.cpp index a45b4933a9006..d50e60c1a899d 100644 --- a/core/jni/android/opengl/util.cpp +++ b/core/jni/android/opengl/util.cpp @@ -657,6 +657,7 @@ static int getPixelFormatFromInternalFormat(uint32_t internalFormat) { switch (internalFormat) { // For sized internal format. case GL_RGBA16F: + case GL_SRGB8_ALPHA8: return GL_RGBA; // Base internal formats and pixel formats are still the same, see Table 1 in // https://www.khronos.org/registry/OpenGL-Refpages/es3.1/html/glTexImage2D.xhtml