Query: sdl_gl_getattribute
OS: centos
Section: 3
Links: centos man pages all man pages forum categories
Format:Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SDL_GL_GetAttribute(3) SDL API Reference SDL_GL_GetAttribute(3)NAMESDL_GL_GetAttribute - Get the value of a special SDL/OpenGL attributeSYNOPSIS#include "SDL.h" int SDL_GL_GetAttribute(SDLGLattr attr, int *value);DESCRIPTIONPlaces 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 VALUEReturns 0 on success, or -1 on an error.SEE ALSOSDL_GL_SetAttribute, GL AttributesSDLTue 11 Sep 2001, 23:01 SDL_GL_GetAttribute(3)