[Bf-blender-cvs] [b8e34355c1a] master: GPU: Consider softpipe as software renderer
Sergey Sharybin
noreply at git.blender.org
Wed Oct 9 16:47:37 CEST 2019
Commit: b8e34355c1aa120b121655a9a8adaa9c58f2e80d
Author: Sergey Sharybin
Date: Wed Oct 9 16:47:16 2019 +0200
Branches: master
https://developer.blender.org/rBb8e34355c1aa120b121655a9a8adaa9c58f2e80d
GPU: Consider softpipe as software renderer
===================================================================
M source/blender/gpu/intern/gpu_platform.c
===================================================================
diff --git a/source/blender/gpu/intern/gpu_platform.c b/source/blender/gpu/intern/gpu_platform.c
index b161052acc3..871052bb070 100644
--- a/source/blender/gpu/intern/gpu_platform.c
+++ b/source/blender/gpu/intern/gpu_platform.c
@@ -186,7 +186,7 @@ void gpu_platform_init(void)
GPG.device = GPU_DEVICE_SOFTWARE;
GPG.driver = GPU_DRIVER_SOFTWARE;
}
- else if (strstr(renderer, "llvmpipe")) {
+ else if (strstr(renderer, "llvmpipe") || strstr(renderer, "softpipe")) {
GPG.device = GPU_DEVICE_SOFTWARE;
GPG.driver = GPU_DRIVER_SOFTWARE;
}
More information about the Bf-blender-cvs
mailing list