Set a special SDL/OpenGL attribute.
Returns 0 on success, or -1 on error.
Sets the OpenGL attribute attr to value. The attributes you set don't take effect until after a call to SDL_SetVideoMode. You should use SDL_GL_GetAttribute to check the values after a SDL_SetVideoMode call.
Binds to C-function call in SDL_video.h:
int SDL_GL_SetAttribute(SDL_GLattr attr, int value);
Sdl Class | Tao.Sdl Namespace | SDL_GL_GetAttribute