Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-11-20 04:03:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-20 04:14:50 +0300
commit219c3aa6535c72594ce7e641b65abc5a47a5badf (patch)
tree1ee3913b4b566cabaf8977c93e4976301de6a45e /source/blender/editors/space_view3d/view3d_draw.c
parent25266caa454324b3394c09920913fb419b5abf2b (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/space_view3d/view3d_draw.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index d4c85eeb3d2..56c127e986f 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -1667,7 +1667,6 @@ void ED_view3d_draw_offscreen(Depsgraph *depsgraph,
const float winmat[4][4],
bool is_image_render,
bool do_sky,
- bool UNUSED(is_persp),
const char *viewname,
const bool do_color_management,
GPUOffScreen *ofs,
@@ -1761,7 +1760,6 @@ void ED_view3d_draw_offscreen_simple(Depsgraph *depsgraph,
float clip_end,
bool is_image_render,
bool do_sky,
- bool is_persp,
const char *viewname,
const bool do_color_management,
GPUOffScreen *ofs,
@@ -1825,7 +1823,6 @@ void ED_view3d_draw_offscreen_simple(Depsgraph *depsgraph,
winmat,
is_image_render,
do_sky,
- is_persp,
viewname,
do_color_management,
ofs,
@@ -1943,7 +1940,6 @@ ImBuf *ED_view3d_draw_offscreen_imbuf(Depsgraph *depsgraph,
winmat,
true,
draw_sky,
- !is_ortho,
viewname,
do_color_management,
ofs,