Skip to content

Commit

Permalink
fix: prevent empty lines from being deleted in patchES300 fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnsgn committed Jan 24, 2024
1 parent 444d99e commit 6e2cd8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ layout (location = 2) out vec4 outEmissive;`,
)
: line;
})
.filter(Boolean)
.map((line) => line || "")
.join("\n")
.replace(/varying/g, "in")
.replace(/texture2DLodEXT/g, "textureLod")
Expand Down

0 comments on commit 6e2cd8f

Please sign in to comment.