Function fermium::video::SDL_GL_GetDrawableSize
source · pub unsafe extern "C" fn SDL_GL_GetDrawableSize(
window: *mut SDL_Window,
w: *mut c_int,
h: *mut c_int
)
Expand description
Gets the drawable size (in pixels) of the client area.
This is for use with glViewport
.
Either pointer may safely be null.