Fix shader stringify
This commit is contained in:
parent
c0b15329e3
commit
2ec57b3a0e
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue