From 8c016b02e72a953baa78d56b0a273d067ec280d3 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 23 Mar 2021 13:54:35 +0000 Subject: [PATCH] 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. --- src/video_core/renderer_opengl/gl_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;