minor refactor for rect functions. more consistent naming.
[blender.git] / source / blender / editors / space_view3d / view3d_draw.c
index 1ace46889912bf270bee531eb583f5cea1b204ee..1dbc40a0c0775ca9ef2f61aa0f73a66d85bf65b0 100644 (file)
@@ -2028,7 +2028,7 @@ void view3d_update_depths_rect(ARegion *ar, ViewDepths *d, rcti *rect)
        r.ymax = ar->winy - 1;
 
        /* Constrain rect to depth bounds */
-       BLI_isect_rcti(&r, rect, rect);
+       BLI_rcti_isect(&r, rect, rect);
 
        /* assign values to compare with the ViewDepths */
        x = rect->xmin;