diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-03-23 13:54:35 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-03-24 19:59:20 +0000 |
commit | 8c016b02e72a953baa78d56b0a273d067ec280d3 (patch) | |
tree | 92f45a474258789c2efd48c8086abee806c13a71 /src | |
parent | 716285fab8830938de6f4e9cbcb408910964c202 (diff) |
gl_device: unblock async shaders on other Unix systems
Mesa is the primary OpenGL provider on all FreeDesktop systems.
For example, iris is used on Intel GPU + FreeBSD by default.
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_opengl/gl_device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.cpp b/src/video_core/renderer_opengl/gl_device.cpp index ba59414a7..5776fccdc 100644 --- a/src/video_core/renderer_opengl/gl_device.cpp +++ b/src/video_core/renderer_opengl/gl_device.cpp @@ -210,7 +210,7 @@ Device::Device() { const bool is_amd = vendor == "ATI Technologies Inc."; const bool is_intel = vendor == "Intel"; -#ifdef __linux__ +#ifdef __unix__ const bool is_linux = true; #else const bool is_linux = false; |