Skip to content

Commit

Permalink
Fix for compile script
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Oct 15, 2021
1 parent 482a95d commit f0a0e28
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Src/Shaders/CompileShaders.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ if exist %PCFXC% goto continue
set PCFXC=fxc.exe

:continue
@if %CompileShadersOutput%.==. set CompileShadersOutput=Compiled
if not defined CompileShadersOutput set CompileShadersOutput=Compiled
set StrTrim=%CompileShadersOutput%##
set StrTrim=%StrTrim: ##=%
set CompileShadersOutput=%StrTrim:##=%
@if not exist %CompileShadersOutput% mkdir %CompileShadersOutput%
call :CompileShader%1 AlphaTestEffect vs VSAlphaTest
call :CompileShader%1 AlphaTestEffect vs VSAlphaTestNoFog
Expand Down

0 comments on commit f0a0e28

Please sign in to comment.