opengl-render flag wasnt being cleared after rendering.

This commit is contained in:
Campbell Barton
2010-06-04 12:23:38 +00:00
parent cac1b3c67f
commit 8a42eebad5

View File

@@ -2043,6 +2043,8 @@ void ED_view3d_draw_offscreen(Scene *scene, View3D *v3d, ARegion *ar, int winx,
glPopMatrix();
glColor4ub(255, 255, 255, 255); // XXX, without this the sequencer flickers with opengl draw enabled, need to find out why - campbell
G.f &= ~G_RENDER_OGL;
}
/* utility func for ED_view3d_draw_offscreen */