diff --git a/bindings/odin/README.md b/bindings/odin/README.md index d1a3e47..dd89b6c 100644 --- a/bindings/odin/README.md +++ b/bindings/odin/README.md @@ -131,15 +131,15 @@ CreateLayout :: proc() -> clay.ClayArray(clay.RenderCommand) { renderCommands: clay.ClayArray(clay.RenderCommand) = clay.EndLayout(windowWidth, windowHeight) for i: u32 = 0; i < renderCommands.length; i += 1 { - renderCommand := clay.RenderCommandArray_Get(&renderCommands, cast(i32)i) + renderCommand := clay.RenderCommandArray_Get(&renderCommands, cast(i32)i) - switch renderCommand.commandType { - case .Rectangle: - { - DrawRectangle(renderCommand.boundingBox, renderCommand.config.rectangleElementConfig.color) - } - // ... Implement handling of other command types - } + switch renderCommand.commandType { + case .Rectangle: + { + DrawRectangle(renderCommand.boundingBox, renderCommand.config.rectangleElementConfig.color) + } + // ... Implement handling of other command types + } } ```