summaryrefslogtreecommitdiff
path: root/src/renderer/mod.rs
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2026-08-16 11:00:02 -0700
committerKai Stevenson <kai@kaistevenson.com>2026-08-16 11:00:02 -0700
commit40e9d818195824749293dff3afcfdd5c1432adbe (patch)
tree94cf7696dbc3479082bde99135897b60d9a4c257 /src/renderer/mod.rs
parent643dd9bd632cab366f12dd8dfe3ee2499ae665a2 (diff)
lint
Diffstat (limited to 'src/renderer/mod.rs')
-rw-r--r--src/renderer/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs
index 1ce461b..5231bc3 100644
--- a/src/renderer/mod.rs
+++ b/src/renderer/mod.rs
@@ -376,8 +376,7 @@ impl RendererState {
);
// write the chunk textures
- let mut chunk_buffer: [u8; (CELLS_IN_CHUNK * 4) as usize] =
- [0; (CELLS_IN_CHUNK * 4) as usize];
+ let mut chunk_buffer: [u8; CELLS_IN_CHUNK * 4] = [0; (CELLS_IN_CHUNK * 4)];
{
puffin::profile_scope!("Upload chunk textures");