mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +00:00
LibWeb/WebGL: Enable robust resource initialization
By default, allocated resources are uninitialized. This setting enables their initialization.
This commit is contained in:
parent
2a11670ef0
commit
426cd455bc
Notes:
github-actions[bot]
2025-06-09 21:41:50 +00:00
Author: https://github.com/Lubrsi
Commit: 426cd455bc
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4056
Reviewed-by: https://github.com/ADKaster
1 changed files with 2 additions and 0 deletions
|
@ -108,6 +108,8 @@ OwnPtr<OpenGLContext> OpenGLContext::create(NonnullRefPtr<Gfx::SkiaBackendContex
|
|||
webgl_version == WebGLVersion::WebGL1 ? 2 : 3,
|
||||
EGL_CONTEXT_WEBGL_COMPATIBILITY_ANGLE,
|
||||
EGL_TRUE,
|
||||
EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE,
|
||||
EGL_TRUE,
|
||||
EGL_CONTEXT_OPENGL_BACKWARDS_COMPATIBLE_ANGLE,
|
||||
EGL_FALSE,
|
||||
EGL_NONE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue