From d139e19bd287ba340b923136c266a77367b83990 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 18 May 2024 16:57:03 +0200 Subject: refactor(engine): fix clippy lints --- engine/src/opengl/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/src/opengl') 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, size: Dimens) +pub fn set_viewport(position: Vec2, size: Dimens) { unsafe { #[allow(clippy::cast_possible_wrap)] -- cgit v1.2.3-18-g5258