Fix #143304: Convert Vulkan backend preference to Metal on macOS
This is in addition to the already existing OpenGL to Metal GPU backend preference conversion. Pull Request: https://projects.blender.org/blender/blender/pulls/143677
This commit is contained in:
@@ -774,7 +774,7 @@ void blo_do_versions_userdef(UserDef *userdef)
|
||||
/* If the userdef was created on a different platform, it may have an
|
||||
* unsupported GPU backend selected. If so, pick a supported default. */
|
||||
#ifdef __APPLE__
|
||||
if (userdef->gpu_backend == GPU_BACKEND_OPENGL) {
|
||||
if (userdef->gpu_backend == GPU_BACKEND_OPENGL || userdef->gpu_backend == GPU_BACKEND_VULKAN) {
|
||||
userdef->gpu_backend = GPU_BACKEND_METAL;
|
||||
}
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user