GPU: clear color with 1.0 alpha
This impacts GHOST/Wayland which draws windows using alpha.
This commit is contained in:
@@ -458,7 +458,7 @@ static void file_main_region_draw(const bContext *C, ARegion *region)
|
||||
|
||||
/* clear and setup matrix */
|
||||
UI_GetThemeColor3fv(TH_BACK, col);
|
||||
GPU_clear_color(col[0], col[1], col[2], 0.0);
|
||||
GPU_clear_color(col[0], col[1], col[2], 1.0f);
|
||||
GPU_clear(GPU_COLOR_BIT);
|
||||
|
||||
/* Allow dynamically sliders to be set, saves notifiers etc. */
|
||||
|
||||
Reference in New Issue
Block a user