fn create_render_target(&mut self, width: usize, height: usize) -> Self::RenderTarget {
        let activated_context = egl::make_current(self.display, egl::EGL_NO_SURFACE, egl::EGL_NO_SURFACE, self.context);
        if !activated_context { panic!("egl::make_current {:x}", egl::get_error()); }

        OpenGlOffscreenRenderer::new(width, height)
    }
///
/// Creates a new render target for this context
///
Creates a new render target for this context
Creates a new render target for this context
fn create_render_target(&mut self, width: usize, height: usize) -> Self::RenderTarget {
        let activated_context = egl::make_current(self.display, egl::EGL_NO_SURFACE, egl::EGL_NO_SURFACE, self.context);
        if !activated_context { panic!("egl::make_current {:x}", egl::get_error()); }
        OpenGlOffscreenRenderer::new(width, height)
    }
fn create_render_target ( & mut self , width : usize , height : usize ) -> Self :: RenderTarget { let activated_context = egl :: make_current ( self . display , egl :: EGL_NO_SURFACE , egl :: EGL_NO_SURFACE , self . context ) ; if ! activated_context { panic ! ( " " egl get_error ( ) ) ; } OpenGlOffscreenRenderer :: new ( width , height ) }
Creates a new render target for this context
Creates a new render target for this context
&mut self
width
usize
height
usize