Merge pull request #38200 from lawnjelly/kessel_screen_read
GLES2 Batching fix canvas texscreen (SCREEN_TEXTURE)
This commit is contained in:
commit
be5a47e75d
|
@ -2492,6 +2492,10 @@ void RasterizerCanvasGLES2::render_joined_item(const BItemJoined &p_bij, RenderI
|
||||||
}
|
}
|
||||||
#endif
|
#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
|
// all the joined items will share the same state with the first item
|
||||||
Item *ci = bdata.item_refs[p_bij.first_item_ref].item;
|
Item *ci = bdata.item_refs[p_bij.first_item_ref].item;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue