Misc headless work

This commit is contained in:
Henrik Rydgård committed 2026-08-05 00:15:56 +02:00
1 parent 5eb4772644
commit 25cf52176f
14 files changed
+271 -471

No files matched your search

+4
View File
@@ -1035,16 +1035,20 @@ static GraphicsContext *CreateGraphicsContext(GPUBackend backend, std::string **
*deviceName = nullptr;
break;
#endif
#if PPSSPP_PLATFORM(WINDOWS)
case GPUBackend::DIRECT3D11:
graphicsContext = new D3D11Context();
*deviceName = &g_Config.sD3D11Device;
break;
#endif
#if !PPSSPP_PLATFORM(UWP)
case GPUBackend::VULKAN:
default:
graphicsContext = new VulkanGraphicsContext();
*deviceName = &g_Config.sVulkanDevice;
break;
}
#endif
return graphicsContext;
}