diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-05-18 10:56:22 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-05-18 10:58:14 +0200 |
commit | c74d65cec84532d14d39be970438516c2b9f6c0e (patch) | |
tree | c574cf78035c205a5e0ebc247f28d01a3c64b4bd /scene/gui/texture_progress.cpp | |
parent | 0187cdae9ae34b762501b0e6b8da61b3986d079b (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 'scene/gui/texture_progress.cpp')
0 files changed, 0 insertions, 0 deletions