diff options
author | Simon Ser <contact@emersion.fr> | 2023-11-30 16:38:25 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-11-30 16:38:25 +0100 |
commit | 876d789ad5c83029c72f1caeb5a586088ef07225 (patch) | |
tree | 8e3482dbb16b39b90610294b73d2a36102c25deb /xwayland/shell.c | |
parent | 84bef5c0c23ea54351c16ab3bc79edc8aa498b93 (diff) |
render/gles2: reword wlr_gles2_texture comments
These comments were a bit misleading:
- "GL_TEXTURE_2D == mutable": not really, imported non-external-only
DMA-BUFs would also use this target, but are not mutable.
- "Only affects target == GL_TEXTURE_2D": same here.
- "If imported from a wlr_buffer": not really, would be NULL if
imported from a shm wlr_buffer.
Adjust these comments to better reflect reality and adjust the check
in gles2_texture_update_from_buffer().
Diffstat (limited to 'xwayland/shell.c')
0 files changed, 0 insertions, 0 deletions