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. |
||
|---|---|---|
| .. | ||
| pixel_format.c | ||
| renderer.c | ||
| shaders.c | ||
| texture.c | ||