You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-30 16:26:50 +00:00
Merge pull request #38200 from lawnjelly/kessel_screen_read
GLES2 Batching fix canvas texscreen (SCREEN_TEXTURE)
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user