fn enable_options(&mut self) {
        unsafe {
            // Turn on blending
            gl::Enable(gl::BLEND);
            gl::BlendEquationSeparate(gl::FUNC_ADD, gl::FUNC_ADD);

            // Use the basic shader program by default
            gl::UseProgram(*self.simple_shader.basic);

            self.blend_mode(BlendMode::SourceOver);
        }
    }
///
/// Sets the GL options that apply across all operations for this renderer
///
Sets the GL options that apply across all operations for this renderer
Sets the GL options that apply across all operations for this renderer
fn enable_options(&mut self) {
        unsafe {
            // Turn on blending
            gl::Enable(gl::BLEND);
            gl::BlendEquationSeparate(gl::FUNC_ADD, gl::FUNC_ADD);
            // Use the basic shader program by default
            gl::UseProgram(*self.simple_shader.basic);
            self.blend_mode(BlendMode::SourceOver);
        }
    }
fn enable_options ( & mut self ) { unsafe { // Turn on blending gl :: Enable ( gl :: BLEND ) ; gl :: BlendEquationSeparate ( gl :: FUNC_ADD , gl :: FUNC_ADD ) ; // Use the basic shader program by default gl :: UseProgram ( * self . simple_shader . basic ) ; self . blend_mode ( BlendMode :: SourceOver ) ; } }
Sets the GL options that apply across all operations for this renderer
Sets the GL options that apply across all operations for this renderer
&mut self