Function fermium::video::SDL_GL_GetDrawableSize[][src]

pub unsafe extern "C" fn SDL_GL_GetDrawableSize(
    window: *mut SDL_Window,
    w: *mut c_int,
    h: *mut c_int
)

Gets the drawable size (in pixels) of the client area.

This is for use with glViewport.

Either pointer may safely be null.