gl: update cargo fmt from previous commit

This commit is contained in:
ice_iix 2020-06-28 18:18:48 -07:00
parent e9d2e4691c
commit ad52d5cb67
1 changed files with 1 additions and 2 deletions

View File

@ -537,8 +537,7 @@ impl Program {
pub fn uniform_location(&self, name: &str) -> Option<Uniform> {
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 {