[Bf-blender-cvs] [83f144b1769] master: WM: Remove 10year old workaround for buggy drivers
Clément Foucault
noreply at git.blender.org
Sun Aug 30 13:36:07 CEST 2020
Commit: 83f144b1769d75767b838ded4cceed7abbab1a90
Author: Clément Foucault
Date: Sat Aug 29 01:32:19 2020 +0200
Branches: master
https://developer.blender.org/rB83f144b1769d75767b838ded4cceed7abbab1a90
WM: Remove 10year old workaround for buggy drivers
This should have no consequence nowadays.
Can be reverted if needed.
===================================================================
M source/blender/windowmanager/intern/wm_window.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list