diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-06-29 23:40:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-29 23:40:08 +0200 |
commit | b4aba3ae7c89b7d236d3efab459fb89b33c91a3c (patch) | |
tree | e9af0a7cc2ff9798a645157b6a7fb45f8a88ba2a /scene/resources | |
parent | 9ca1a5af3e8186c396e5b8c74b2cebe1e25a65c9 (diff) | |
parent | 9f0c6a60095025cb7f67a36ffa81e8709d645a66 (diff) |
Merge pull request #30177 from hbina/use_FALLTHROUGH_macro
Applied some of FALLTHROUGH macro usage from #30122
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/particles_material.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/resources/particles_material.cpp b/scene/resources/particles_material.cpp index a80a57a09c..691d73c181 100644 --- a/scene/resources/particles_material.cpp +++ b/scene/resources/particles_material.cpp @@ -184,7 +184,8 @@ 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"; code += "uniform int emission_texture_point_count;\n"; |