GPU: Add Dummy Backend For Unsupported Platforms #110919

Merged
Jeroen Bakker merged 10 commits from Jeroen-Bakker/blender:gpu/dummy-backend into main 2023-08-15 14:15:18 +02:00
1 changed files with 4 additions and 4 deletions
Showing only changes of commit cdbae69276 - Show all commits

View File

@ -275,11 +275,11 @@ static bool gpu_backend_supported()
{
switch (g_backend_type) {
case GPU_BACKEND_OPENGL:
//#ifdef WITH_OPENGL_BACKEND
// return true;
//#else
#ifdef WITH_OPENGL_BACKEND
return true;
#else
return false;
//#endif
#endif
case GPU_BACKEND_VULKAN:
#ifdef WITH_VULKAN_BACKEND
return true;