diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-02-12 23:38:33 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-02-12 23:38:33 +0100 |
commit | 5aff9903548c0f62d3d6aa880693d9131d2c53ac (patch) | |
tree | ad30503c8105f2a36e96c60fa220f1a0b7d321ed /drivers/gles2 | |
parent | 322fad70bd59eb7b2a9a94387611401180458d82 (diff) |
Fix infinite recursion in GLES2 _copy_texscreen
Bug introduced in 9430e68cf3013aaa0673a4dfff844324a9c1274a,
likely a typo.
Diffstat (limited to 'drivers/gles2')
-rw-r--r-- | drivers/gles2/rasterizer_canvas_gles2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles2/rasterizer_canvas_gles2.cpp b/drivers/gles2/rasterizer_canvas_gles2.cpp index 069dbe027d..a7345978e1 100644 --- a/drivers/gles2/rasterizer_canvas_gles2.cpp +++ b/drivers/gles2/rasterizer_canvas_gles2.cpp @@ -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; |