diff options
Diffstat (limited to 'src/blu_cat/gra/static_mesh.cpp')
-rw-r--r-- | src/blu_cat/gra/static_mesh.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blu_cat/gra/static_mesh.cpp b/src/blu_cat/gra/static_mesh.cpp index b52d124..0b6088c 100644 --- a/src/blu_cat/gra/static_mesh.cpp +++ b/src/blu_cat/gra/static_mesh.cpp @@ -76,8 +76,8 @@ load_mesh(void *obj) size_t total_file_size{ STATIC_MESH_HEADER_SIZE + - header.num_vertexes * 8 * 4 + - header.num_indexes * 4}; + header.num_vertexes * 8 * SIZE_32_BIT + + header.num_indexes * SIZE_32_BIT}; if(total_file_size != input.size()) { |