1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-03 12:47:49 +00:00

OpenGL: Also detect softpipe as a software driver

Because it is.
This commit is contained in:
linkmauve 2020-02-25 19:23:06 +01:00 committed by Jan Ekström
parent c418aa3807
commit 322eb72679

View File

@ -41,6 +41,7 @@ static bool is_software_gl(GL *gl)
return !(renderer && vendor) ||
strcmp(renderer, "Software Rasterizer") == 0 ||
strstr(renderer, "llvmpipe") ||
strstr(renderer, "softpipe") ||
strcmp(vendor, "Microsoft Corporation") == 0 ||
strcmp(renderer, "Mesa X11") == 0 ||
strcmp(renderer, "Apple Software Renderer") == 0;