Fix infinite recursion in GLES2 _copy_texscreen

Bug introduced in 9430e68cf3,
likely a typo.
This commit is contained in:
Rémi Verschelde 2019-02-12 23:38:33 +01:00
parent 322fad70bd
commit 5aff990354

View file

@ -1227,7 +1227,7 @@ void RasterizerCanvasGLES2::_copy_texscreen(const Rect2 &p_rect) {
state.canvas_texscreen_used = true;
_copy_texscreen(p_rect);
_copy_screen(p_rect);
// back to canvas, force rebind
state.using_texture_rect = false;