SDL_GL_GetAttribute — Get the value of a special SDL/OpenGL attribute
#include "SDL.h"
int
SDL_GL_GetAttribute( |
SDLGLattr | attr, |
int * | value) ; |
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.
SDL_GL_SetAttribute(3), GL Attributes
COPYRIGHT |
---|
This manual page is taken from the SDL library, licensed under GNU LGPL. |