Просмотр исходного кода

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

gl_device: unblock async shaders on other Unix systems
bunnei 5 лет назад
Родитель
Сommit
b83eb4dd18
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/video_core/renderer_opengl/gl_device.cpp

+ 1 - 1
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;