We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 826028e + f679be4 commit c98cf4cCopy full SHA for c98cf4c
en/03_Drawing_a_triangle/00_Setup/01_Instance.adoc
@@ -189,7 +189,7 @@ vk::InstanceCreateInfo createInfo{
189
.pApplicationInfo = &appInfo,
190
.ppEnabledExtensionNames = { vk::KHRPortabilityEnumerationExtensionName }
191
};
192
-instance = std::make_unique<vk::raii::Instance>(context, createInfo);
+instance = vk::raii::Instance(m_context, createInfo);
193
----
194
195
== Checking for extension support
0 commit comments