# HG changeset patch # User Sam # Date 1677262889 -25200 # Node ID d911cacce29e96d29a3e2d4ecfdb283799ff9c9d # Parent 03447fc1e9aad0108d0b931cf0303e5d9c646c7e try: more win compilation fixes diff -r 03447fc1e9aa -r d911cacce29e src/semicongine/shader.nim --- a/src/semicongine/shader.nim Sat Feb 25 01:18:21 2023 +0700 +++ b/src/semicongine/shader.nim Sat Feb 25 01:21:29 2023 +0700 @@ -58,7 +58,7 @@ input = shaderSource ) - when defined(mingw): # required for crosscompilation, path separators get messed up + when defined(mingw) and not defined(windows): # required for crosscompilation, path separators get messed up let shaderbinary = staticRead shaderfile.replace("\\", "/") else: let shaderbinary = staticRead shaderfile