diff options
author | Scott Anderson <scott@anderso.nz> | 2019-11-06 21:28:43 +1300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-11-06 09:46:01 +0100 |
commit | 85a2ee6d30e7a039b4eaba0c97bdb08d54e57f80 (patch) | |
tree | fa6fb5bd685682108e6315b48a798980bff4b6fc /backend | |
parent | f2d3b1000f451003c38933c05a742b76da48aeee (diff) |
render/gles: Simplify textures a bit
We don't need our own enum for types. Instead we just use
GL_TEXTURE_{2D,EXTERNAL_OES}, which already describes usage.
Also fixes a situation where we were using GL_TEXTURE_2D in a situation
we should not have. wl_drm buffers are always GL_TEXTURE_EXTERNAL_OES,
no matter if they're RGB or any other format.
Diffstat (limited to 'backend')
0 files changed, 0 insertions, 0 deletions