diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-08-29 02:32:19 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-08-30 14:11:02 +0300 |
commit | 83f144b1769d75767b838ded4cceed7abbab1a90 (patch) | |
tree | 0b3820b04bedf144dc11fd75b321bc8c818d8b73 /source/blender/windowmanager | |
parent | 832a975c2cd8e0cf50a7df322633d3851d99549e (diff) |
WM: Remove 10year old workaround for buggy drivers
This should have no consequence nowadays.
Can be reverted if needed.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 7 |
1 files changed, 2 insertions, 5 deletions
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); |