Recognize llvmpipe renderer as software OpenGL

This commit is contained in:
Sergey Sharybin 2019-01-04 12:41:35 +01:00
parent 3ffce6a130
commit e6acb4fba0
Notes: blender-bot 2023-02-14 05:28:01 +01:00
Referenced by issue #64548, Color Wheels not working correctly using using Troy Sobotka version of the OCIO configuration
Referenced by issue #62408, opensubdiv crash in rendered viewport
Referenced by issue #60960, Crash when editing 'Resolution' value of 'Point Density' node
Referenced by issue #60357, Blender hangs on loading image
Referenced by issue #60359, Blender hangs during extrude/undo possibly when coincides with an autosave
1 changed files with 4 additions and 0 deletions

View 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;