summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-12-05 23:00:55 +0800
committerGitHub <[email protected]>2021-12-05 23:00:55 +0800
commitd0a57e1b4faf83e28ac6ab3a1f1e857eb4d3263f (patch)
tree403052fc6ec729ca9ed8375cae18da52adf511c5
parenteab65cb4c758e0d9c16fc6c606dfa7616a491787 (diff)
Update xmake.lua
-rw-r--r--xmake/rules/utils/glsl2spv/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/utils/glsl2spv/xmake.lua b/xmake/rules/utils/glsl2spv/xmake.lua
index cf4f113fe..faf655ec6 100644
--- a/xmake/rules/utils/glsl2spv/xmake.lua
+++ b/xmake/rules/utils/glsl2spv/xmake.lua
@@ -78,7 +78,7 @@ rule("utils.glsl2spv")
outputfile = headerfile
-- add commands
- local argv = {"lua", "private.utils.bin2c", "-z", "-i", spvfilepath, "-o", headerfile}
+ local argv = {"lua", "private.utils.bin2c", "--nozeroend", "-i", spvfilepath, "-o", headerfile}
batchcmds:vrunv(os.programfile(), argv, {envs = {XMAKE_SKIP_HISTORY = "y"}})
end