diff options
author | Simon Ser <contact@emersion.fr> | 2021-01-14 12:00:06 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-14 12:00:06 +0100 |
commit | 02a086599c069768987bc9c6d9a8f79b6bfd8811 (patch) | |
tree | 9ce64269fb70907362251cddf6c57ad3f649a930 /backend/drm | |
parent | dc61f471da1a1c9264167635c286b6dcb37b3d6f (diff) |
render/gles2: save/restore EGL context in destroy_buffer
It can be surprising that destroying a buffer changes the EGL context,
especially since this can be triggered from anywhere wlr_buffer_unlock
is called.
Prevent this from happening by saving and restoring the EGL context.
Diffstat (limited to 'backend/drm')
0 files changed, 0 insertions, 0 deletions