diff --git a/rpcs3/Emu/RSX/GL/GLHelpers.h b/rpcs3/Emu/RSX/GL/GLHelpers.h index 760f646af6..e5e4c93d20 100644 --- a/rpcs3/Emu/RSX/GL/GLHelpers.h +++ b/rpcs3/Emu/RSX/GL/GLHelpers.h @@ -1442,6 +1442,7 @@ namespace gl //Sized internal formats, see opengl spec document on glTexImage2D, table 3 rgba8 = GL_RGBA8, r5g6b5 = GL_RGB565, + rgba4 = GL_RGBA4, r8 = GL_R8, r16 = GL_R16, r32f = GL_R32F, diff --git a/rpcs3/Emu/RSX/GL/GLTexture.cpp b/rpcs3/Emu/RSX/GL/GLTexture.cpp index d0aedcb374..049d194be6 100644 --- a/rpcs3/Emu/RSX/GL/GLTexture.cpp +++ b/rpcs3/Emu/RSX/GL/GLTexture.cpp @@ -112,6 +112,8 @@ namespace gl return std::make_tuple(GL_RG, GL_UNSIGNED_SHORT, true); case texture::internal_format::rg16f: return std::make_tuple(GL_RG, GL_HALF_FLOAT, true); + case texture::internal_format::rgba4: + return std::make_tuple(GL_BGRA, GL_UNSIGNED_SHORT_4_4_4_4, false); case texture::internal_format::rgba8: return std::make_tuple(GL_BGRA, GL_UNSIGNED_INT_8_8_8_8, false); case texture::internal_format::rgba16f: