From db24220826f6d85054dda6662d97f1dcf0335673 Mon Sep 17 00:00:00 2001 From: Borealis Date: Fri, 6 Dec 2024 18:09:56 +0000 Subject: [PATCH] Auto-update from libvoxelstorm: latest resource compiler from webgpu demo 3 (085ae66) --- compile_resource_to_raw_string.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile_resource_to_raw_string.sh b/compile_resource_to_raw_string.sh index f528911..c108ac8 100755 --- a/compile_resource_to_raw_string.sh +++ b/compile_resource_to_raw_string.sh @@ -56,7 +56,7 @@ echo -n "inline constexpr char const *${resourcename}{R\"${shorthash}(" >> "$out # content if printf '%s\0' "${strip_comment_suffixes[@]}" | grep -Fxzq -- "$suffix"; then # strip comments and whitespace-only lines - sed "s/\/\/.*//;/^[ ]*$/d" "$infile" >> "$outfile" + sed "s/ *\/\/.*//;/^[ ]*$/d" "$infile" >> "$outfile" else cat "$infile" >> "$outfile" fi