Merge pull request #15468 from unknownbrackets/switch-merge
Cleanup Switch ignoring of Vulkan
This commit is contained in:
commit
0eea0acf13
8 changed files with 63 additions and 53 deletions
|
@ -741,6 +741,7 @@ int main(int argc, char *argv[]) {
|
|||
printf("GL init error '%s'\n", error_message.c_str());
|
||||
}
|
||||
graphicsContext = ctx;
|
||||
#if !PPSSPP_PLATFORM(SWITCH)
|
||||
} else if (g_Config.iGPUBackend == (int)GPUBackend::VULKAN) {
|
||||
SDLVulkanGraphicsContext *ctx = new SDLVulkanGraphicsContext();
|
||||
if (!ctx->Init(window, x, y, mode, &error_message)) {
|
||||
|
@ -754,6 +755,7 @@ int main(int argc, char *argv[]) {
|
|||
} else {
|
||||
graphicsContext = ctx;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
bool useEmuThread = g_Config.iGPUBackend == (int)GPUBackend::OPENGL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue