diff --git a/drivers/gles2/rasterizer_canvas_gles2.cpp b/drivers/gles2/rasterizer_canvas_gles2.cpp index 967faaa4cac..3e8f9bf09b1 100644 --- a/drivers/gles2/rasterizer_canvas_gles2.cpp +++ b/drivers/gles2/rasterizer_canvas_gles2.cpp @@ -2492,6 +2492,10 @@ void RasterizerCanvasGLES2::render_joined_item(const BItemJoined &p_bij, RenderI } #endif + // this must be reset for each joined item, + // it only exists to prevent capturing the screen more than once per item + state.canvas_texscreen_used = false; + // all the joined items will share the same state with the first item Item *ci = bdata.item_refs[p_bij.first_item_ref].item;