From b0315b7ebc16fcbae6c3098db6c824f9057d2a71 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 20 Nov 2023 22:00:34 +0100 Subject: feat(engine): add materials --- engine/src/opengl/shader.rs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'engine/src/opengl') 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, 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]; -- cgit v1.2.3-18-g5258