diff options
| author | 2021-03-23 13:54:35 +0000 | |
|---|---|---|
| committer | 2021-03-24 19:59:20 +0000 | |
| commit | 8c016b02e72a953baa78d56b0a273d067ec280d3 (patch) | |
| tree | 92f45a474258789c2efd48c8086abee806c13a71 | |
| parent | Merge pull request #6100 from bunnei/arm-fix (diff) | |
| download | yuzu-8c016b02e72a953baa78d56b0a273d067ec280d3.tar.gz yuzu-8c016b02e72a953baa78d56b0a273d067ec280d3.tar.xz yuzu-8c016b02e72a953baa78d56b0a273d067ec280d3.zip | |
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 '')
| -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() { | |||
| 210 | const bool is_amd = vendor == "ATI Technologies Inc."; | 210 | const bool is_amd = vendor == "ATI Technologies Inc."; |
| 211 | const bool is_intel = vendor == "Intel"; | 211 | const bool is_intel = vendor == "Intel"; |
| 212 | 212 | ||
| 213 | #ifdef __linux__ | 213 | #ifdef __unix__ |
| 214 | const bool is_linux = true; | 214 | const bool is_linux = true; |
| 215 | #else | 215 | #else |
| 216 | const bool is_linux = false; | 216 | const bool is_linux = false; |