diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-20 04:03:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-20 04:14:50 +0300 |
commit | 219c3aa6535c72594ce7e641b65abc5a47a5badf (patch) | |
tree | 1ee3913b4b566cabaf8977c93e4976301de6a45e /source/blender/editors/include/ED_view3d_offscreen.h | |
parent | 25266caa454324b3394c09920913fb419b5abf2b (diff) |
Cleanup: remove unused perspective argument to off-screen drawing
Some callers were passing in dummy values, this can be accessed from
`RegionView3D.is_persp` can be used to check this.
Diffstat (limited to 'source/blender/editors/include/ED_view3d_offscreen.h')
-rw-r--r-- | source/blender/editors/include/ED_view3d_offscreen.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_view3d_offscreen.h b/source/blender/editors/include/ED_view3d_offscreen.h index 2833d205e77..69756f1cd79 100644 --- a/source/blender/editors/include/ED_view3d_offscreen.h +++ b/source/blender/editors/include/ED_view3d_offscreen.h @@ -52,7 +52,6 @@ void ED_view3d_draw_offscreen(struct Depsgraph *depsgraph, const float winmat[4][4], bool is_image_render, bool do_sky, - bool is_persp, const char *viewname, const bool do_color_management, struct GPUOffScreen *ofs, @@ -70,7 +69,6 @@ void ED_view3d_draw_offscreen_simple(struct Depsgraph *depsgraph, float clip_end, bool is_image_render, bool do_sky, - bool is_persp, const char *viewname, const bool do_color_management, struct GPUOffScreen *ofs, |