summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-03-24 16:52:27 -0700
committerGitHub <noreply@github.com>2021-03-24 16:52:27 -0700
commitb83eb4dd18d5e46c56fe8a43310b60309cfb0f34 (patch)
tree92f45a474258789c2efd48c8086abee806c13a71 /src
parent716285fab8830938de6f4e9cbcb408910964c202 (diff)
parent8c016b02e72a953baa78d56b0a273d067ec280d3 (diff)
Merge pull request #6108 from jbeich/freebsd-async-shaders
gl_device: unblock async shaders on other Unix systems
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_device.cpp2
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;