3
0
Fork 0
forked from suyu/suyu

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.
This commit is contained in:
Jan Beich 2021-03-23 13:54:35 +00:00
parent 716285fab8
commit 8c016b02e7

View file

@ -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;