Fix #33767: Edge of objects rendered out jerky when using OpenGL Rendering

Made OpenGL sky opaque, so now it behaves exactly the same as sky for final render.
This commit is contained in:
Sergey Sharybin
2013-01-05 07:08:54 +00:00
parent d9001335ff
commit 3b3d419dcb

View File

@@ -2596,10 +2596,11 @@ void ED_view3d_draw_offscreen(Scene *scene, View3D *v3d, ARegion *ar,
linearrgb_to_srgb_v3_v3(backcol, &scene->world->horr);
}
glClearColor(backcol[0], backcol[1], backcol[2], 0.0);
glClearColor(backcol[0], backcol[1], backcol[2], 1.0f);
}
else {
UI_ThemeClearColor(TH_BACK);
UI_GetThemeColor3fv(TH_BACK, backcol);
glClearColor(backcol[0], backcol[1], backcol[2], 1.0f);
}