changeset 548:eefb6a5ae805

fix: window compiling issue
author Sam <sam@basx.dev>
date Sat, 25 Feb 2023 01:18:21 +0700
parents c3b6981764a5
children 84514c05e83f
files src/semicongine/shader.nim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/semicongine/shader.nim	Sat Feb 25 01:13:42 2023 +0700
+++ b/src/semicongine/shader.nim	Sat Feb 25 01:18:21 2023 +0700
@@ -62,7 +62,7 @@
     let shaderbinary = staticRead shaderfile.replace("\\", "/")
   else:
     let shaderbinary = staticRead shaderfile
-  when defined(linux) or defined(mingw):
+  when defined(linux):
     discard staticExecChecked(command = fmt"rm {shaderfile}")
   elif defined(windows):
     discard staticExecChecked(command = fmt"del {shaderfile}")