diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-03-02 00:22:29 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-03-02 00:22:31 +0300 |
commit | b941d808c116a03f3c023dbc62e00bb52d17ea86 (patch) | |
tree | 637493216327ec834e88d578702bd8edd8978768 /source/blender/editors/space_view3d/view3d_draw.c | |
parent | 8f7e3600d1de281cea2d89e7afc110c86101d51c (diff) |
Remove legacy code used for sequencer preview image
This (now removed code) calls gl_Vertex deprecated draws. It was doing
background drawing (color gradient, flat background) which is not used
by any engine.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index 793b7289146..02d45be5aa4 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -2022,15 +2022,6 @@ void ED_view3d_draw_offscreen( gpuPushMatrix(); gpuLoadIdentity(); - /* clear opengl buffers */ - if (do_sky) { - view3d_main_region_clear(scene, v3d, ar); - } - else { - glClearColor(0.0f, 0.0f, 0.0f, 0.0f); - glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); - } - if ((viewname != NULL && viewname[0] != '\0') && (viewmat == NULL) && rv3d->persp == RV3D_CAMOB && v3d->camera) view3d_stereo3d_setup_offscreen(eval_ctx, scene, v3d, ar, winmat, viewname); else |