1SDL_GL_GetAttribute(3)         SDL API Reference        SDL_GL_GetAttribute(3)
2
3
4

NAME

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

SYNOPSIS

9       #include "SDL.h"
10
11       int SDL_GL_GetAttribute(SDLGLattr attr, int *value);
12

DESCRIPTION

14       Places  the  value of the SDL/OpenGL attribute attr into value. This is
15       useful  after  a  call  to  SDL_SetVideoMode  to  check  whether   your
16       attributes have been set as you expected.
17

RETURN VALUE

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

SEE ALSO

22       SDL_GL_SetAttribute, GL Attributes
23
24
25
26SDL                         Tue 11 Sep 2001, 23:01      SDL_GL_GetAttribute(3)
Impressum