summaryrefslogtreecommitdiff
path: root/engine/src/opengl/mod.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-05-18 16:57:03 +0200
committerHampusM <hampus@hampusmat.com>2024-05-18 16:57:03 +0200
commitd139e19bd287ba340b923136c266a77367b83990 (patch)
tree4d8e469ea2ebf9445236c0a2b3d9b392460282f5 /engine/src/opengl/mod.rs
parentd7675fd0119afe5e9cc872ce8bbb2977a16f0b26 (diff)
refactor(engine): fix clippy lints
Diffstat (limited to 'engine/src/opengl/mod.rs')
-rw-r--r--engine/src/opengl/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/src/opengl/mod.rs b/engine/src/opengl/mod.rs
index edf6372..15f40cb 100644
--- a/engine/src/opengl/mod.rs
+++ b/engine/src/opengl/mod.rs
@@ -13,7 +13,7 @@ mod util;
#[cfg(feature = "debug")]
pub mod debug;
-pub fn set_viewport(position: &Vec2<u32>, size: Dimens<u32>)
+pub fn set_viewport(position: Vec2<u32>, size: Dimens<u32>)
{
unsafe {
#[allow(clippy::cast_possible_wrap)]