[][src]Function fermium::SDL_GL_SetAttribute

pub unsafe extern "C" fn SDL_GL_SetAttribute(attr: Type, value: c_int) -> c_int

\brief Set an OpenGL window attribute before window creation.

\return 0 on success, or -1 if the attribute could not be set.