diff options
Diffstat (limited to 'render/gles2')
-rw-r--r-- | render/gles2/texture.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/render/gles2/texture.c b/render/gles2/texture.c index 2b08dd50..7e2b01ae 100644 --- a/render/gles2/texture.c +++ b/render/gles2/texture.c @@ -99,10 +99,6 @@ static bool gles2_texture_write_pixels(struct wlr_texture *wlr_texture, } static void gles2_texture_destroy(struct wlr_texture *wlr_texture) { - if (wlr_texture == NULL) { - return; - } - struct wlr_gles2_texture *texture = gles2_get_texture(wlr_texture); wl_list_remove(&texture->link); |