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
|
||||
*/
|
||||
import vulkan_hpp;
|
||||
#include <string>
|
||||
|
||||
int test_instance()
|
||||
{
|
||||
vk::InstanceCreateInfo instanceCreateInfo({}, nullptr);
|
||||
vk::Instance instance = vk::createInstance(instanceCreateInfo);
|
||||
instance.destroy();
|
||||
return 0;
|
||||
return static_cast<int>(vk::makeApiVersion(1, 0, 0, 0));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue