aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/session
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-01-14 15:02:19 +0100
committerSimon Ser <contact@emersion.fr>2021-01-15 10:19:31 +0100
commit642b349e94cfd78d3719a3fbaeba9904b1e41104 (patch)
treecb8e1113a0235703806aca74c91e0eb00138227c /include/wlr/backend/session
parentcc56b4f0737398c3cc7f5d8d0296d2ca8930afa9 (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 'include/wlr/backend/session')
0 files changed, 0 insertions, 0 deletions