diff options
Diffstat (limited to 'src/ral/ral_common.c')
-rw-r--r-- | src/ral/ral_common.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; } |