diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2026-08-16 11:00:02 -0700 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2026-08-16 11:00:02 -0700 |
| commit | 40e9d818195824749293dff3afcfdd5c1432adbe (patch) | |
| tree | 94cf7696dbc3479082bde99135897b60d9a4c257 /src/renderer | |
| parent | 643dd9bd632cab366f12dd8dfe3ee2499ae665a2 (diff) | |
lint
Diffstat (limited to 'src/renderer')
| -rw-r--r-- | src/renderer/mod.rs | 3 |
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"); |
