Provided by: libsdl1.2-dev_1.2.15+dfsg1-3ubuntu0.1_amd64 bug

NAME

       SDL_GL_GetAttribute - Get the value of a special SDL/OpenGL attribute

SYNOPSIS

       #include "SDL.h"

       int SDL_GL_GetAttribute(SDLGLattr attr, int *value);

DESCRIPTION

       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.

RETURN VALUE

       Returns 0 on success, or -1 on an error.

SEE ALSO

       SDL_GL_SetAttribute, GL Attributes