Skip to content

Commit

Permalink
Fix shader stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
timangus committed Sep 8, 2020
1 parent c0b1532 commit 2ec57b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -1223,7 +1223,7 @@ define DO_REF_STR
$(echo_cmd) "REF_STR $<"
$(Q)rm -f $@
$(Q)echo "const char *fallbackShader_$(notdir $(basename $<)) =" >> $@
$(Q)cat $< | sed -e 's/^\(.*\)$$/\"\1\"/' >> $@
$(Q)cat $< | sed -e 's/^\(.*\)$$/\"\1\\n\"/' >> $@
$(Q)echo ";" >> $@
endef

Expand Down

0 comments on commit 2ec57b3

Please sign in to comment.