diff options
author | Simon Ser <contact@emersion.fr> | 2020-05-20 12:39:35 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-05-20 17:39:34 +0200 |
commit | af2f69e6c1578f848d3e3222804444ff9cff83df (patch) | |
tree | aaf4be2b47d3e1047a24085c4bc74003c382745b /include/backend | |
parent | 72f28ed0b36e4f8a6a8732788bc557533ac36ab1 (diff) |
render/egl: unset current context after swapping buffers
After swapping buffers, it doesn't make sense to perform more rendering
operations. Unset the context to reflect this.
This commit makes it so the context is always only current between
wlr_egl_make_current and wlr_egl_swap_buffers.
This is an alternative to [1].
[1]: https://github.com/swaywm/wlroots/pull/2212
Diffstat (limited to 'include/backend')
0 files changed, 0 insertions, 0 deletions