Fix T57455: Fix faulty gpu detection
This commit is contained in:
parent
7be9bf43a4
commit
28b83b34d4
Notes:
blender-bot
2023-02-14 05:08:19 +01:00
Referenced by issue #57455, Laggy, freezing UI with Linux and Intel UHD 620
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue