You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename Rect2 and Rect2i clip() to intersection()
This commit is contained in:
@@ -6378,7 +6378,7 @@ void RenderingDeviceVulkan::draw_list_enable_scissor(DrawListID p_list, const Re
|
||||
Rect2i rect = p_rect;
|
||||
rect.position += dl->viewport.position;
|
||||
|
||||
rect = dl->viewport.clip(rect);
|
||||
rect = dl->viewport.intersection(rect);
|
||||
|
||||
if (rect.get_area() == 0) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user