egl: fixup format modifier lookups with implicit modifiers

ref #6485
This commit is contained in:
Vaxry
2024-06-14 21:59:21 +02:00
parent 12ce06f39b
commit 2f278dc883
3 changed files with 27 additions and 13 deletions

View File

@@ -24,8 +24,8 @@ inline const std::vector<SPixelFormat> GLES3_FORMATS = {
.bytesPerBlock = 4,
},
{
.drmFormat = DRM_FORMAT_XRGB8888,
.flipRB = true,
.drmFormat = DRM_FORMAT_XRGB8888,
.flipRB = true,
#ifndef GLES2
.glFormat = GL_RGBA,
#else