Recognize llvmpipe renderer as software OpenGL
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 4 Jan 2019 11:41:35 +0000 (12:41 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 4 Jan 2019 11:41:35 +0000 (12:41 +0100)
source/blender/gpu/intern/gpu_extensions.c

index 16f8af2..2ddb779 100644 (file)
@@ -196,6 +196,10 @@ void gpu_extensions_init(void)
                GG.device = GPU_DEVICE_SOFTWARE;
                GG.driver = GPU_DRIVER_SOFTWARE;
        }
+       else if (strstr(renderer, "llvmpipe")) {
+               GG.device = GPU_DEVICE_SOFTWARE;
+               GG.driver = GPU_DRIVER_SOFTWARE;
+       }
        else {
                GG.device = GPU_DEVICE_ANY;
                GG.driver = GPU_DRIVER_ANY;