aboutsummaryrefslogtreecommitdiff
path: root/render/gles2/renderer.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/gles2/renderer.c')
-rw-r--r--render/gles2/renderer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c
index d81aed5a..59a2875f 100644
--- a/render/gles2/renderer.c
+++ b/render/gles2/renderer.c
@@ -253,6 +253,7 @@ static bool gles2_render_subtexture_with_matrix(
gles2_get_renderer_in_context(wlr_renderer);
struct wlr_gles2_texture *texture =
gles2_get_texture(wlr_texture);
+ assert(texture->renderer == renderer);
struct wlr_gles2_tex_shader *shader = NULL;