aboutsummaryrefslogtreecommitdiff
path: root/render/wlr_texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/wlr_texture.c')
-rw-r--r--render/wlr_texture.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/render/wlr_texture.c b/render/wlr_texture.c
index c4563dd6..2cdf08c5 100644
--- a/render/wlr_texture.c
+++ b/render/wlr_texture.c
@@ -63,7 +63,6 @@ struct wlr_texture *wlr_texture_from_dmabuf(struct wlr_renderer *renderer,
struct wlr_texture *wlr_texture_from_buffer(struct wlr_renderer *renderer,
struct wlr_buffer *buffer) {
- assert(!renderer->rendering);
if (!renderer->impl->texture_from_buffer) {
return NULL;
}