summaryrefslogtreecommitdiff
path: root/modules/etc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-05-18 10:56:22 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-05-18 10:58:14 +0200
commitc74d65cec84532d14d39be970438516c2b9f6c0e (patch)
treec574cf78035c205a5e0ebc247f28d01a3c64b4bd /modules/etc
parent0187cdae9ae34b762501b0e6b8da61b3986d079b (diff)
GLSL: Change shader type specifier from [vertex] to #[vertex]
The added `#` prevents clang-format from misinterpreting the meaning of this statement and thus messing up the formatting of the next lines up until the first `layout` statement. Similarly, a semicolon is now enforced on `versions` defines to prevent clang-format from messing up formatting and putting them all on a single line. Note: In its current state the code will ignore chained statements on a single line separated by a semicolon. Also removed some extraneous lines missed in previous style changes or added by mistake with said changes (e.g. after uniform definitions that clang-format messes up somewhat too, but we live with it).
Diffstat (limited to 'modules/etc')
0 files changed, 0 insertions, 0 deletions