Mercurial > games > semicongine
changeset 675:cba4bebaf9d0
fix: resources on windows
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 10 May 2023 10:13:23 -0700 |
parents | 496b328faa43 |
children | e6cbcf3cba94 |
files | config.nims src/semicongine/core/buildconfig.nim src/semicongine/platform/windows/audio.nim src/semicongine/platform/windows/window.nim |
diffstat | 4 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/config.nims Wed May 10 22:36:59 2023 +0700 +++ b/config.nims Wed May 10 10:13:23 2023 -0700 @@ -52,7 +52,7 @@ exec &"zip -r {outputfile} ." elif defined(windows): # TODO: test this - exec &"powershell Compress-Archive {inputfile} {outputfile}" + exec &"powershell Compress-Archive * {outputfile}" cd(oldcwd) task build_all_debug, "build all examples for debug":
--- a/src/semicongine/core/buildconfig.nim Wed May 10 22:36:59 2023 +0700 +++ b/src/semicongine/core/buildconfig.nim Wed May 10 10:13:23 2023 -0700 @@ -23,7 +23,7 @@ if defined(linux): assert defined(VK_USE_PLATFORM_XLIB_KHR), ENGINENAME & " requires --d:VK_USE_PLATFORM_XLIB_KHR for linux builds" elif defined(windows): - assert defined(VK_USE_PLATFORM_XLIB_KHR), ENGINENAME & " requires --d:VK_USE_PLATFORM_WIN32_KHR for windows builds" + assert defined(VK_USE_PLATFORM_WIN32_KHR), ENGINENAME & " requires --d:VK_USE_PLATFORM_WIN32_KHR for windows builds" else: assert false, "trying to build on unsupported platform"
--- a/src/semicongine/platform/windows/audio.nim Wed May 10 22:36:59 2023 +0700 +++ b/src/semicongine/platform/windows/audio.nim Wed May 10 10:13:23 2023 -0700 @@ -1,7 +1,7 @@ import winim import winim/extra -import ../../core +import ../../core/audiotypes template checkWinMMResult*(call: untyped) = let value = call