mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Refactor: Merge the ChooseDevice function into CreateDevice
This commit is contained in:
1 parent
cb9c230e4e
commit
9f1f75ddab
5 files changed
+34
-41
No files matched your search
@@ -56,8 +56,7 @@ static bool create_device(retro_vulkan_context *context, VkInstance instance, Vk
|
||||
physical_device = vk->GetBestPhysicalDevice();
|
||||
}
|
||||
|
||||
vk->ChooseDevice(physical_device);
|
||||
vk->CreateDevice();
|
||||
vk->CreateDevice(physical_device);
|
||||
#ifdef _WIN32
|
||||
vk->InitSurface(WINDOWSYSTEM_WIN32, nullptr, nullptr);
|
||||
#elif defined(__ANDROID__)
|
||||
|
||||
Reference in new issue
Block a user