[client] egl: fix support for deep color modes (30bpp)

This commit is contained in:
Geoffrey McRae 2023-04-19 18:02:14 +10:00
parent a629d24dc3
commit 880d8042a4

View File

@ -748,7 +748,7 @@ static bool egl_renderStartup(LG_Renderer * renderer, bool useDMA)
EGLint attr[] =
{
EGL_BUFFER_SIZE , 24,
EGL_BUFFER_SIZE , 30,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_SAMPLE_BUFFERS , maxSamples > 0 ? 1 : 0,
EGL_SAMPLES , maxSamples,