From 83f144b1769d75767b838ded4cceed7abbab1a90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Sat, 29 Aug 2020 01:32:19 +0200 Subject: WM: Remove 10year old workaround for buggy drivers This should have no consequence nowadays. Can be reverted if needed. --- source/blender/windowmanager/intern/wm_window.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'source/blender/windowmanager') diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 4c5b7194b0a..04d5aeb337d 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -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); -- cgit v1.2.3