minor refactor for rect functions. more consistent naming.
[blender.git] / source / blender / editors / space_view3d / view3d_view.c
index bc41ecd1dc5cc380a0288ff0f501199034f2d3c0..3abfda78ec352e097593472b3aa78da332656d6c 100644 (file)
@@ -1786,7 +1786,7 @@ static int game_engine_exec(bContext *C, wmOperator *op)
                cam_frame.xmax = cam_framef.xmax + ar->winrct.xmin;
                cam_frame.ymin = cam_framef.ymin + ar->winrct.ymin;
                cam_frame.ymax = cam_framef.ymax + ar->winrct.ymin;
-               BLI_isect_rcti(&ar->winrct, &cam_frame, &cam_frame);
+               BLI_rcti_isect(&ar->winrct, &cam_frame, &cam_frame);
        }
        else {
                cam_frame.xmin = ar->winrct.xmin;