mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-07 19:58:32 +09:00
[Fix] (MG_Backend/DirectVulkan): request Vulkan 1.1 (to make renderdoc happy)
This commit is contained in:
@@ -46,7 +46,7 @@ namespace MobileGL::MG_Backend::DirectVulkan {
|
||||
void VulkanContext::CreateInstance(const std::string& appName) {
|
||||
VkApplicationInfo appInfo{VK_STRUCTURE_TYPE_APPLICATION_INFO};
|
||||
appInfo.pApplicationName = appName.c_str();
|
||||
appInfo.apiVersion = VK_API_VERSION_1_0;
|
||||
appInfo.apiVersion = VK_API_VERSION_1_1;
|
||||
|
||||
const char* exts[] = {VK_KHR_SURFACE_EXTENSION_NAME,
|
||||
#if __ANDROID__
|
||||
|
||||
Reference in New Issue
Block a user