Fix [#21516] UI artifacts in array modifier
[blender.git] / source / blender / editors / space_outliner / space_outliner.c
index 63508725b050d85ec701de4610fa92f3d69b70a9..1c86eb4df70a7e2b4e81d5a57a03641f4c4bf0e6 100644 (file)
@@ -71,11 +71,9 @@ static void outliner_main_area_draw(const bContext *C, ARegion *ar)
 {
        View2D *v2d= &ar->v2d;
        View2DScrollers *scrollers;
-       float col[3];
        
        /* clear */
-       UI_GetThemeColor3fv(TH_BACK, col);
-       glClearColor(col[0], col[1], col[2], 0.0);
+       UI_ThemeClearColor(TH_BACK);
        glClear(GL_COLOR_BUFFER_BIT);
        
        draw_outliner(C);