simplified cpp module to not require function loading
This commit is contained in:
parent
cb28cd1819
commit
a523083f72
1 changed files with 1 additions and 5 deletions
|
|
@ -6,12 +6,8 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
import vulkan_hpp;
|
import vulkan_hpp;
|
||||||
#include <string>
|
|
||||||
|
|
||||||
int test_instance()
|
int test_instance()
|
||||||
{
|
{
|
||||||
vk::InstanceCreateInfo instanceCreateInfo({}, nullptr);
|
return static_cast<int>(vk::makeApiVersion(1, 0, 0, 0));
|
||||||
vk::Instance instance = vk::createInstance(instanceCreateInfo);
|
|
||||||
instance.destroy();
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue