From ad52d5cb67e85cd63550f66ae55c3717bea2ee49 Mon Sep 17 00:00:00 2001 From: ice_iix Date: Sun, 28 Jun 2020 18:18:48 -0700 Subject: [PATCH] gl: update cargo fmt from previous commit --- src/gl/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gl/mod.rs b/src/gl/mod.rs index 21eec07..9a100fb 100644 --- a/src/gl/mod.rs +++ b/src/gl/mod.rs @@ -537,8 +537,7 @@ impl Program { pub fn uniform_location(&self, name: &str) -> Option { let c_name = ffi::CString::new(name).unwrap(); - let u = - unsafe { gl::GetUniformLocation(self.0, c_name.as_ptr()) }; + let u = unsafe { gl::GetUniformLocation(self.0, c_name.as_ptr()) }; if u != -1 { Some(Uniform(u)) } else {