Merge pull request #6108 from jbeich/freebsd-async-shaders

gl_device: unblock async shaders on other Unix systems
This commit is contained in:
bunnei 2021-03-24 16:52:27 -07:00 committed by GitHub
commit b83eb4dd18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;