mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Merge pull request #2757 from Chaosus/fix_switch
Adds break to default case in switch flow operator (shaders).
This commit is contained in:
@@ -342,6 +342,7 @@ Godot Shading language supports the most common types of flow control:
|
||||
break;
|
||||
//...
|
||||
default: // optional
|
||||
break;
|
||||
}
|
||||
|
||||
// for loops
|
||||
|
||||
Reference in New Issue
Block a user