mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Misc headless work
This commit is contained in:
1 parent
5eb4772644
commit
25cf52176f
14 files changed
+271
-471
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user