[Bf-blender-cvs] [0d9249a27f4] experimental-build: Attempted fix for T50856: crash when minimizing window on AMD / Windows.

Brecht Van Lommel noreply at git.blender.org
Sat Jun 24 16:47:52 CEST 2017


Commit: 0d9249a27f49ec27cd9eaa4577b6cdedafab0e93
Author: Brecht Van Lommel
Date:   Sat Jun 24 16:44:48 2017 +0200
Branches: experimental-build
https://developer.blender.org/rB0d9249a27f49ec27cd9eaa4577b6cdedafab0e93

Attempted fix for T50856: crash when minimizing window on AMD / Windows.

===================================================================

M	source/blender/windowmanager/intern/wm_draw.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_draw.c b/source/blender/windowmanager/intern/wm_draw.c
index 77ffa46b990..2ba1cfaa107 100644
--- a/source/blender/windowmanager/intern/wm_draw.c
+++ b/source/blender/windowmanager/intern/wm_draw.c
@@ -926,15 +926,13 @@ void wm_draw_update(bContext *C)
 	
 	for (win = wm->windows.first; win; win = win->next) {
 #ifdef WIN32
-		if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_ANY, GPU_DRIVER_ANY)) {
-			GHOST_TWindowState state = GHOST_GetWindowState(win->ghostwin);
-
-			if (state == GHOST_kWindowStateMinimized) {
-				/* do not update minimized windows, it gives issues on intel drivers (see [#33223])
-				 * anyway, it seems logical to skip update for invisible windows
-				 */
-				continue;
-			}
+		GHOST_TWindowState state = GHOST_GetWindowState(win->ghostwin);
+
+		if (state == GHOST_kWindowStateMinimized) {
+			/* do not update minimized windows, it gives issues on intel drivers (see [#33223])
+			 * anyway, it seems logical to skip update for invisible windows
+			 */
+			continue;
 		}
 #endif
 		if (win->drawmethod != U.wmdrawmethod) {




More information about the Bf-blender-cvs mailing list