WM: Remove 10year old workaround for buggy drivers

This should have no consequence nowadays.
Can be reverted if needed.
This commit is contained in:
Clément Foucault 2020-08-29 01:32:19 +02:00
parent 832a975c2c
commit 83f144b176
1 changed files with 2 additions and 5 deletions

View File

@ -645,11 +645,8 @@ static void wm_window_ghostwindow_add(wmWindowManager *wm,
GHOST_SetWindowState(ghostwin, (GHOST_TWindowState)win->windowstate);
}
#endif
/* Crash on OSS ATI: bugs.launchpad.net/ubuntu/+source/mesa/+bug/656100 */
if (!GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_OPENSOURCE)) {
/* until screens get drawn, make it nice gray */
GPU_clear_color(0.55f, 0.55f, 0.55f, 1.0f);
}
/* until screens get drawn, make it nice gray */
GPU_clear_color(0.55f, 0.55f, 0.55f, 1.0f);
/* needed here, because it's used before it reads userdef */
WM_window_set_dpi(win);