diff options
author | Simon Ser <contact@emersion.fr> | 2021-01-14 15:02:19 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-15 10:19:31 +0100 |
commit | 642b349e94cfd78d3719a3fbaeba9904b1e41104 (patch) | |
tree | cb8e1113a0235703806aca74c91e0eb00138227c /backend/multi | |
parent | cc56b4f0737398c3cc7f5d8d0296d2ca8930afa9 (diff) |
render/gles2: restore EGL context after texture operations
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.
Diffstat (limited to 'backend/multi')
0 files changed, 0 insertions, 0 deletions