diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-12-02 05:49:26 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-12-02 05:49:54 +0300 |
commit | 28b83b34d4edbb314665e3d0ddf87144c6903408 (patch) | |
tree | ab5e452e947fd817ac764de0ca8b0b6d0c624f7f /source | |
parent | 7be9bf43a4854e085ba828cc5682a739a52163a6 (diff) |
Fix T57455: Fix faulty gpu detection
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/screen/screen_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |