aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSaracen2015-11-19 23:47:25 +0000
committerSaracen2015-11-19 23:47:25 +0000
commit2cc52bc3ffde14dd7685588e9b4884bf7f8cfa4e (patch)
treef99e60d0f5f6d022692994645cee17a2427e595f /drivers
parentff363c94db0d456e171aeacf10f11f5a51ca2ee3 (diff)
downloadgodot-2cc52bc3ffde14dd7685588e9b4884bf7f8cfa4e.tar.gz
godot-2cc52bc3ffde14dd7685588e9b4884bf7f8cfa4e.tar.zst
godot-2cc52bc3ffde14dd7685588e9b4884bf7f8cfa4e.zip
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gles2/rasterizer_gles2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles2/rasterizer_gles2.cpp b/drivers/gles2/rasterizer_gles2.cpp
index daac4123e..8b70e7cfb 100644
--- a/drivers/gles2/rasterizer_gles2.cpp
+++ b/drivers/gles2/rasterizer_gles2.cpp
@@ -9355,7 +9355,7 @@ void RasterizerGLES2::canvas_render_items(CanvasItem *p_item_list,int p_z,const
if (current_rt) {
x = current_clip->final_clip_rect.pos.x;
- y = viewport.height - (current_clip->final_clip_rect.pos.y + current_clip->final_clip_rect.size.y);
+ y = current_clip->final_clip_rect.pos.y;
w = current_clip->final_clip_rect.size.x;
h = current_clip->final_clip_rect.size.y;
}