mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 21:26:22 +00:00
LibGfx: Request correct EGLConfig surface type for WebGL
We currently look for an EGLConfig that supports window surfaces, but we actually use a pbuffer surface.
This commit is contained in:
parent
df09472d4d
commit
72a7051877
Notes:
github-actions[bot]
2025-08-18 22:31:39 +00:00
Author: https://github.com/erik-kz
Commit: 72a7051877
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5864
Reviewed-by: https://github.com/kalenikaliaksandr ✅
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ void OpenGLContext::free_surface_resources()
|
|||
static EGLConfig get_egl_config(EGLDisplay display)
|
||||
{
|
||||
EGLint const config_attribs[] = {
|
||||
EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
|
||||
EGL_SURFACE_TYPE, EGL_PBUFFER_BIT,
|
||||
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
|
||||
EGL_RED_SIZE, 8,
|
||||
EGL_GREEN_SIZE, 8,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue