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.
This commit is contained in:
parent
8f7e3600d1
commit
b941d808c1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue