pub fn unbind(unit: u32) {
        unsafe {
            gl::ActiveTexture(gl::TEXTURE0 + unit);
            gl::BindTexture(gl::TEXTURE_2D, 0);
        }
    }
/// Unbinds the texture at the given texture unit.
Unbinds the texture at the given texture unit.
Unbinds the texture at the given texture unit .
pub fn unbind(unit: u32) {
        unsafe {
            gl::ActiveTexture(gl::TEXTURE0 + unit);
            gl::BindTexture(gl::TEXTURE_2D, 0);
        }
    }
pub fn unbind ( unit : u32 ) { unsafe { gl :: ActiveTexture ( gl :: TEXTURE0 + unit ) ; gl :: BindTexture ( gl :: TEXTURE_2D , 0 ) ; } }
Unbinds the texture at the given texture unit.
Unbinds the texture at the given texture unit .
unit
u32
unit
u32