Commit: 4ea07e432f2c27c814b21b65db23ce492533eafd
Author: Brecht Van Lommel
Date: Sat Jun 24 16:46:32 2017 +0200
Branches: experimental-build
https://developer.blender.org/rB4ea07e432f2c27c814b21b65db23ce492533eafd
Revert "Attempted fix for T50856: crash when minimizing window on AMD /
Windows."
This reverts commit 0d9249a27f49ec27cd9eaa4577b6cdedafab0e93.
===================================================================
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 2ba1cfaa107..77ffa46b990 100644
--- a/source/blender/windowmanager/intern/wm_draw.c
+++ b/source/blender/windowmanager/intern/wm_draw.c
@@ -926,13 +926,15 @@ void wm_draw_update(bContext *C)
for (win = wm->windows.first; win; win = win->next) {
#ifdef WIN32
- 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;
+ 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;
+ }
}
#endif
if (win->drawmethod != U.wmdrawmethod) {
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs