1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-29 16:16:38 +00:00
Files
godot/drivers/gles2/rasterizer_canvas_gles2.cpp
lawnjelly a75c1ed1df GLES2 Batching fix canvas texscreen (SCREEN_TEXTURE)
When reading SCREEN_TEXTURE in a shader, this previously only worked succesfully for the first read of the screen, because state.canvas_texscreen_used was never getting reset. This PR resets state.canvas_texscreen_used at the beginning of each joined item, so that further screen reads can happen.
2020-04-25 13:40:43 +01:00

114 KiB