mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
The read format is dependent on the output, so we first need to make it current. This fixes a race condition in wlr-screencopy-v1 where a dmabuf client would cause EGL_NO_SURFACE to be bound at the time when screencopy needs to query for the preferred format, causing GL errors. |
||
|---|---|---|
| .. | ||
| gles2 | ||
| dmabuf.c | ||
| egl.c | ||
| glapi.txt | ||
| meson.build | ||
| wlr_renderer.c | ||
| wlr_texture.c | ||