Struct sdl2::video::GLContext [] [src]

pub struct GLContext {
    // some fields omitted
}

Methods

impl GLContext
[src]

fn is_current(&self) -> bool

Returns true if the OpenGL context is the current one in the thread.

impl GLContext
[src]

unsafe fn raw(&self) -> SDL_GLContext

Trait Implementations

impl Drop for GLContext
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more