From a523083f727e2b0585047557659a32c6cd0fa195 Mon Sep 17 00:00:00 2001 From: Jan Kuhlmann <33833587+M2-TE@users.noreply.github.com> Date: Fri, 21 Mar 2025 10:58:54 +0100 Subject: [PATCH] simplified cpp module to not require function loading --- tests/vk_hpp_module.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/vk_hpp_module.cpp b/tests/vk_hpp_module.cpp index 299cfc0..28f83e2 100644 --- a/tests/vk_hpp_module.cpp +++ b/tests/vk_hpp_module.cpp @@ -6,12 +6,8 @@ * SPDX-License-Identifier: Apache-2.0 */ import vulkan_hpp; -#include int test_instance() { - vk::InstanceCreateInfo instanceCreateInfo({}, nullptr); - vk::Instance instance = vk::createInstance(instanceCreateInfo); - instance.destroy(); - return 0; + return static_cast(vk::makeApiVersion(1, 0, 0, 0)); } \ No newline at end of file