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.
merge-requests/60/head
Jan Beich 2021-03-23 13:54:35 +07:00
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_intel = vendor == "Intel";
#ifdef __linux__
#ifdef __unix__
const bool is_linux = true;
#else
const bool is_linux = false;