Function sdl2_sys::SDL_GL_SetAttribute
source ยท pub unsafe extern "C" fn SDL_GL_SetAttribute(
attr: SDL_GLattr,
value: c_int,
) -> c_int
Expand description
\brief Set an OpenGL window attribute before window creation.
\return 0 on success, or -1 if the attribute could not be set.