Remove unnecessary cast

This commit is contained in:
Jarrod Doyle 2024-03-25 15:42:59 +00:00
parent 511e4b9233
commit 956fdd180f
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ impl BrickmapCache {
// TODO: change type of upload data. Will need some messyness with bytemucking probably // TODO: change type of upload data. Will need some messyness with bytemucking probably
// but should lead to clearer data definitions // but should lead to clearer data definitions
let mut upload_data = vec![0u32; 4 + 532 * max_upload_count as usize]; let mut upload_data = vec![0u32; 4 + 532 * max_upload_count];
upload_data[0] = max_upload_count as u32; upload_data[0] = max_upload_count as u32;
let mut buffers = BulkBufferBuilder::new() let mut buffers = BulkBufferBuilder::new()