[client] egl: fix fourcc for RGBA10 dmabuf

This commit is contained in:
Geoffrey McRae
2023-04-19 17:30:40 +10:00
parent 7c1bb13d70
commit a629d24dc3
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ bool egl_texUtilGetFormat(const EGL_TexSetup * setup, EGL_TexFormat * fmt)
fmt->format = GL_RGBA;
fmt->intFormat = GL_RGB10_A2;
fmt->dataType = GL_UNSIGNED_INT_2_10_10_10_REV;
fmt->fourcc = DRM_FORMAT_BGRA1010102;
fmt->fourcc = DRM_FORMAT_BGRA2101010;
break;
case EGL_PF_RGBA16F: