diff options
Diffstat (limited to 'render/wlr_renderer.c')
-rw-r--r-- | render/wlr_renderer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c index f01c9345..88a48bb1 100644 --- a/render/wlr_renderer.c +++ b/render/wlr_renderer.c @@ -153,6 +153,7 @@ bool wlr_render_subtexture_with_matrix(struct wlr_renderer *r, struct wlr_texture *texture, const struct wlr_fbox *box, const float matrix[static 9], float alpha) { assert(r->rendering); + assert(texture->renderer == r); return r->impl->render_subtexture_with_matrix(r, texture, box, matrix, alpha); } |