This commit is contained in:
Mars 2024-10-05 01:28:28 -04:00
parent a5d385f418
commit 22d3ff31fb
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895

View file

@ -15,14 +15,14 @@
vk::ApplicationInfo appInfo { vk::ApplicationInfo appInfo {
.pApplicationName = "Vulkan App", // App name .pApplicationName = "Vulkan App", // App name
.applicationVersion = 1, // App version .applicationVersion = 1, // App version
.pEngineName = "No Engine", // Engine name .pEngineName = "No Engine", // Engine name
.engineVersion = 1, // Engine version .engineVersion = 1, // Engine version
.apiVersion = vk::ApiVersion10 // API compatibility version .apiVersion = vk::ApiVersion10 // API compatibility version
}; };
vk::InstanceCreateInfo createInfo { vk::InstanceCreateInfo createInfo {
.pApplicationInfo = &appInfo, // ApplicationInfo object .pApplicationInfo = &appInfo, // ApplicationInfo object
.enabledLayerCount = 0, // # of enabled layers .enabledLayerCount = 0, // # of enabled layers
.ppEnabledLayerNames = nullptr, // Names of enabled layers .ppEnabledLayerNames = nullptr, // Names of enabled layers
.enabledExtensionCount = 0, // # of enabled extensions .enabledExtensionCount = 0, // # of enabled extensions
.ppEnabledExtensionNames = nullptr // Names of enabled extensions .ppEnabledExtensionNames = nullptr // Names of enabled extensions