Modification to GUI in 3D demo to show resolved viewport clipping bug and small fix to bug causing viewport clipping to be inverted.

This commit is contained in:
Saracen 2015-11-19 23:47:25 +00:00
parent ff363c94db
commit 2cc52bc3ff
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -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;
}