mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
Remove D3D9 support, to make future changes easier
This commit is contained in:
1 parent
435b265888
commit
6cfea96e58
70 files changed
+89
-5777
No files matched your search
+4
-7
@@ -1037,14 +1037,11 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
|
||||
if (wideArgs[i].find(gpuBackend) != std::wstring::npos && wideArgs[i].size() > gpuBackend.size()) {
|
||||
const std::wstring restOfOption = wideArgs[i].substr(gpuBackend.size());
|
||||
|
||||
// Force software rendering off, as picking directx9 or gles implies HW acceleration.
|
||||
// Once software rendering supports Direct3D9/11, we can add more options for software,
|
||||
// such as "software-gles", "software-d3d9", and "software-d3d11", or something similar.
|
||||
// Force software rendering off, as picking gles implies HW acceleration.
|
||||
// We could add more options for software such as "software-gles",
|
||||
// "software-vulkan" and "software-d3d11", or something similar.
|
||||
// For now, software rendering force-activates OpenGL.
|
||||
if (restOfOption == L"directx9") {
|
||||
g_Config.iGPUBackend = (int)GPUBackend::DIRECT3D9;
|
||||
g_Config.bSoftwareRendering = false;
|
||||
} else if (restOfOption == L"directx11") {
|
||||
if (restOfOption == L"directx11") {
|
||||
g_Config.iGPUBackend = (int)GPUBackend::DIRECT3D11;
|
||||
g_Config.bSoftwareRendering = false;
|
||||
} else if (restOfOption == L"gles") {
|
||||
|
||||
Reference in new issue
Block a user