diff options
author | HampusM <hampus@hampusmat.com> | 2024-05-18 16:57:03 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-05-18 16:57:03 +0200 |
commit | d139e19bd287ba340b923136c266a77367b83990 (patch) | |
tree | 4d8e469ea2ebf9445236c0a2b3d9b392460282f5 /engine/src/opengl | |
parent | d7675fd0119afe5e9cc872ce8bbb2977a16f0b26 (diff) |
refactor(engine): fix clippy lints
Diffstat (limited to 'engine/src/opengl')
-rw-r--r-- | engine/src/opengl/mod.rs | 2 |
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)] |