mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +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
6241d06660
commit
394692fd7e
1 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,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
Reference in a new issue