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:
parent
ff363c94db
commit
2cc52bc3ff
Binary file not shown.
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue