Browse Source

Update tutorials/shaders/shader_reference/shading_language.rst

Co-authored-by: tetrapod <[email protected]>
GlitchCode24 6 months ago
parent
commit
619edd2cae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/shaders/shader_reference/shading_language.rst

+ 1 - 1
tutorials/shaders/shader_reference/shading_language.rst

@@ -554,7 +554,7 @@ Godot Shading language supports the most common types of flow control:
     // `if`, `else if` and `else`.
     // `if`, `else if` and `else`.
     if (cond) {
     if (cond) {
 
 
-    } else if (cond) {
+    } else if (other_cond) {
 
 
     } else {
     } else {