diff options
Diffstat (limited to 'engine/src/opengl/shader.rs')
-rw-r--r-- | engine/src/opengl/shader.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/engine/src/opengl/shader.rs b/engine/src/opengl/shader.rs index 4bf56aa..9bed09b 100644 --- a/engine/src/opengl/shader.rs +++ b/engine/src/opengl/shader.rs @@ -205,16 +205,6 @@ impl Program } } - pub fn set_uniform_1uiv(&self, _: &CurrentlyBound<Self>, name: &CStr, num: u32) - { - let uniform_location = - unsafe { gl::GetUniformLocation(self.program, name.as_ptr().cast()) }; - - unsafe { - gl::Uniform1uiv(uniform_location, 1, &num); - } - } - fn get_info_log(&self) -> String { let mut buf = vec![gl::types::GLchar::default(); 512]; |