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:
parent
716285fab8
commit
8c016b02e7
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ Device::Device() {
|
||||||
const bool is_amd = vendor == "ATI Technologies Inc.";
|
const bool is_amd = vendor == "ATI Technologies Inc.";
|
||||||
const bool is_intel = vendor == "Intel";
|
const bool is_intel = vendor == "Intel";
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __unix__
|
||||||
const bool is_linux = true;
|
const bool is_linux = true;
|
||||||
#else
|
#else
|
||||||
const bool is_linux = false;
|
const bool is_linux = false;
|
||||||
|
|
Loading…
Reference in a new issue