summaryrefslogtreecommitdiffstats
path: root/scene/resources/particles_material.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-02-23 08:43:18 +0100
committerGitHub <noreply@github.com>2020-02-23 08:43:18 +0100
commitbd10c7045865bc7788f695b3ecc4fb136a499d87 (patch)
tree17b378d5698fe51bcd2e67aa648e704b29427b88 /scene/resources/particles_material.cpp
parent63b0d822d109f3612d5c22e4342ebef9cd3b9163 (diff)
parent2cf6ac6c507529884d6b8acfdc42f3bc1826b19d (diff)
downloadredot-engine-bd10c7045865bc7788f695b3ecc4fb136a499d87.tar.gz
Merge pull request #36461 from akien-mga/c++17-fallthrough-attribute
Replace FALLTHROUGH macro by C++17 [[fallthrough]]
Diffstat (limited to 'scene/resources/particles_material.cpp')
-rw-r--r--scene/resources/particles_material.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/particles_material.cpp b/scene/resources/particles_material.cpp
index d852dca7fa..cb8f14c109 100644
--- a/scene/resources/particles_material.cpp
+++ b/scene/resources/particles_material.cpp
@@ -189,7 +189,7 @@ void ParticlesMaterial::_update_shader() {
} break;
case EMISSION_SHAPE_DIRECTED_POINTS: {
code += "uniform sampler2D emission_texture_normal : hint_black;\n";
- FALLTHROUGH;
+ [[fallthrough]];
}
case EMISSION_SHAPE_POINTS: {
code += "uniform sampler2D emission_texture_points : hint_black;\n";