Merge branch 'master' into soc-2017-sculpting_improvements
[blender.git] / source / blender / editors / space_view3d / view3d_draw.c
index 064e6d8af0dca83b1c94881816922edc481ecb32..71e1d2272f5e5618d7d2ebf9ecc9a8cd54ebd7c1 100644 (file)
@@ -2373,7 +2373,7 @@ void ED_view3d_draw_depth_gpencil(Scene *scene, ARegion *ar, View3D *v3d)
        RegionView3D *rv3d = ar->regiondata;
 
        /* Setup view matrix. */
-       ED_view3d_draw_setup_view(NULL, scene, ar, v3d, rv3d->winmat, rv3d->viewmat, NULL);
+       ED_view3d_draw_setup_view(NULL, scene, ar, v3d, rv3d->viewmat, rv3d->winmat, NULL);
 
        glClear(GL_DEPTH_BUFFER_BIT);