diff config.nims @ 544:c3c772512e7c

add: new vulkan api wrapper, not done yet
author Sam <sam@basx.dev>
date Thu, 23 Feb 2023 00:34:38 +0700
parents 1822bea7de34
children 93f661a20f74
line wrap: on
line diff
--- a/config.nims	Wed Feb 22 18:36:26 2023 +0700
+++ b/config.nims	Thu Feb 23 00:34:38 2023 +0700
@@ -13,6 +13,11 @@
   switch("mm", "orc")
   switch("experimental", "strictEffects")
   switch("threads", "on")
+  if defined(linux):
+    switch("define", "VK_USE_PLATFORM_XLIB_KHR")
+  if defined(windows):
+    switch("define", "VK_USE_PLATFORM_WIN32_KHR")
+
 
 proc compilerFlagsDebug() =
   switch("debugger", "native")