[Bf-blender-cvs] [28b83b34d4e] blender2.8: Fix T57455: Fix faulty gpu detection

Clément Foucault noreply at git.blender.org
Sun Dec 2 03:50:00 CET 2018


Commit: 28b83b34d4edbb314665e3d0ddf87144c6903408
Author: Clément Foucault
Date:   Sun Dec 2 03:49:26 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB28b83b34d4edbb314665e3d0ddf87144c6903408

Fix T57455: Fix faulty gpu detection

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

M	source/blender/editors/screen/screen_draw.c

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

diff --git a/source/blender/editors/screen/screen_draw.c b/source/blender/editors/screen/screen_draw.c
index d1a3457d338..ee41f188481 100644
--- a/source/blender/editors/screen/screen_draw.c
+++ b/source/blender/editors/screen/screen_draw.c
@@ -388,7 +388,7 @@ void ED_screen_draw_edges(wmWindow *win)
 		BLI_rcti_do_minmax_v(&scissor_rect, (int[2]){sa->v3->vec.x, sa->v3->vec.y});
 	}
 
-	if (GPU_type_matches(GPU_DEVICE_INTEL_UHD, GPU_OS_UNIX, GPU_OS_ANY)) {
+	if (GPU_type_matches(GPU_DEVICE_INTEL_UHD, GPU_OS_UNIX, GPU_DRIVER_ANY)) {
 		/* For some reason, on linux + Intel UHD Graphics 620 the driver
 		 * hangs if we don't flush before this. (See T57455) */
 		glFlush();



More information about the Bf-blender-cvs mailing list