Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

gl_device: unblock async shaders on other Unix systems

Jan Beichb273871bafa7
diff --git a/src/video_core/renderer_opengl/gl_device.cpp b/src/video_core/renderer_opengl/gl_device.cpp
index ba59414a74..5776fccdc8 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;