From 87a47aead498d4f7c360d64efc632bcf1a533751 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 11 Aug 2024 00:13:18 +1000 Subject: chore: fmt and lint --- src/ral/ral_common.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/ral/ral_common.c') diff --git a/src/ral/ral_common.c b/src/ral/ral_common.c index 53e35f0..d921ac4 100644 --- a/src/ral/ral_common.c +++ b/src/ral/ral_common.c @@ -61,10 +61,10 @@ size_t VertexAttribSize(VertexAttribType attr) { } size_t VertexDesc_CalcStride(VertexDescription* desc) { - size_t stride = 0; - for (int i = 0; i < desc->attributes_count; i++) { - size_t size =VertexAttribSize(desc->attributes[i]); - stride += size; - } - return stride; + size_t stride = 0; + for (int i = 0; i < desc->attributes_count; i++) { + size_t size = VertexAttribSize(desc->attributes[i]); + stride += size; + } + return stride; } -- cgit v1.2.3-70-g09d2