diff src/vulkan_api/vulkan_api_generator.nim @ 206:7f921d7d0a2b

did: small refactoring of module structure
author Sam <sam@basx.dev>
date Tue, 09 May 2023 01:11:51 +0700
parents 110ed3ee5df8
children ddfc54036e00
line wrap: on
line diff
--- a/src/vulkan_api/vulkan_api_generator.nim	Mon May 08 21:45:47 2023 +0700
+++ b/src/vulkan_api/vulkan_api_generator.nim	Tue May 09 01:11:51 2023 +0700
@@ -647,7 +647,7 @@
   mainout.add "}.toTable"
   for platform in api.findAll("platform"):
     mainout.add &"when defined({platform.attr(\"protect\")}):"
-    mainout.add &"  include platform/{platform.attr(\"name\")}"
+    mainout.add &"  ../vulkan/include platform/{platform.attr(\"name\")}"
     if platform.attr("name") in extensionLoaderMap:
       for extension, loader in extensionLoaderMap[platform.attr("name")].pairs:
         mainout.add &"  EXTENSION_LOADERS[\"{extension}\"] = {loader}"