Recognize llvmpipe renderer as software OpenGL
[blender.git] / source / blender / gpu / intern / gpu_extensions.c
index 16f8af2c1b75db99911b88b8edf0ae43e2122f0d..2ddb779ce23e08afafdce1a362ba6092a48affd9 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;