mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 01:22:43 +02:00
eglMakeCurrent with EGL_NO_SURFACE leaves the GL viewport at its default of (0, 0, 0, 0), which clips all rasterization to zero pixels until the page explicitly calls gl.viewport(). The Vulkan path already sets the viewport after binding the color buffer; do the same on the macOS IOSurface path so WebGL content that does not manage viewport state itself (e.g. feature-detection draws into a 1x1 canvas) still produces visible pixels.
19 KiB
19 KiB