Explorar el Código

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.
Jan Beich hace 5 años
padre
commit
8c016b02e7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;