Mercurial > games > semicongine
diff semiconginev2/rendering.nim @ 1224:a3fa15c25026 compiletime-tests
did: cleanup, add audio, change platform-dependent structure
author | sam <sam@basx.dev> |
---|---|
date | Wed, 17 Jul 2024 22:02:11 +0700 |
parents | 56781cc0fc7c |
children | c8e3037aca66 |
line wrap: on
line diff
--- a/semiconginev2/rendering.nim Wed Jul 17 21:13:54 2024 +0700 +++ b/semiconginev2/rendering.nim Wed Jul 17 22:02:11 2024 +0700 @@ -24,8 +24,10 @@ # there is a big, bad global vulkan object # believe me, this makes everything much, much easier -include ./platform/window # for NativeWindow -include ./platform/surface # For CreateNativeSurface +when defined(windows): + include ./rendering/platform/windows +when defined(linux): + include ./rendering/platform/linux type VulkanGlobals* = object