It can be surprising and unexpected that texture operations (such as texture upload and import) change the current EGL context, especially when it's done under-the-hood by wlroots in response to wl_surface requests. To prevent surprises, save and restore the previous EGL context. |
||
---|---|---|
.. | ||
gles2 | ||
allocator.c | ||
dmabuf.c | ||
drm_format_set.c | ||
egl.c | ||
gbm_allocator.c | ||
meson.build | ||
swapchain.c | ||
wlr_renderer.c | ||
wlr_texture.c |