summaryrefslogtreecommitdiff
path: root/drivers/gles2
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-02-12 23:38:33 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-02-12 23:38:33 +0100
commit5aff9903548c0f62d3d6aa880693d9131d2c53ac (patch)
treead30503c8105f2a36e96c60fa220f1a0b7d321ed /drivers/gles2
parent322fad70bd59eb7b2a9a94387611401180458d82 (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.cpp2
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;