diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-01-04 14:41:35 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-01-04 14:41:35 +0300 |
commit | e6acb4fba0945cb03cda7da7ce63a20abc7b0e7d (patch) | |
tree | 97bd3f8ab3f14f4afee9d13a1c7adf39f0eaca11 | |
parent | 3ffce6a1305dea1d3ae90ad907d59ad29f35c046 (diff) |
Recognize llvmpipe renderer as software OpenGL
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index 16f8af2c1b7..2ddb779ce23 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -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; |