render/gles2: require GL_EXT_unpack_subimage

We implicitly depended on this extension.
This commit is contained in:
Simon Ser 2020-12-15 14:55:18 +01:00
parent e57a52e7f7
commit 3fd8098881
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 5 additions and 1 deletions

View file

@ -55,7 +55,6 @@ static bool gles2_texture_write_pixels(struct wlr_texture *wlr_texture,
get_gles2_format_from_wl(texture->wl_format);
assert(fmt);
// TODO: what if the unpack subimage extension isn't supported?
push_gles2_debug(texture->renderer);
glBindTexture(GL_TEXTURE_2D, texture->tex);