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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user