SDL_GL_!GetAttribute?
NAME SYNOPSIS DESCRIPTION RETURN VALUE SEE ALSO
SDL_GL_!GetAttribute?- Get the value of a special SDL/OpenGL attribute
#include
int SDL_GL_!GetAttribute?(__SDLGLattr attr, int
Places the value of the SDL/OpenGL attribute attr into value. This is useful after a call to SDL_!SetVideoMode? to check whether your attributes have been set as you expected.
Returns 0 on success, or -1 on an error.
SDL_GL_!SetAttribute?, GL Attributes
One page links to SDL_GL_GetAttribute(3):