[all] add initial support for RGB24-bpp support

This commit is contained in:
Geoffrey McRae
2023-11-08 16:04:58 +11:00
parent dcde981a17
commit 86e8e99107
15 changed files with 74 additions and 40 deletions

View File

@@ -34,7 +34,8 @@ bool egl_texUtilGetFormat(const EGL_TexSetup * setup, EGL_TexFormat * fmt)
{
//EGL has no support for 24-bit formats, so we stuff it into a 32-bit
//texture to unpack with a shader later
case EGL_PF_BGR:
case EGL_PF_BGR_32:
case EGL_PF_RGB_24:
// fallthrough
case EGL_PF_BGRA: