Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SDL_GL_GetAttribute(3)	       SDL API Reference	SDL_GL_GetAttribute(3)

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  at-
       tributes	have been set as you expected.

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

SEE ALSO
       SDL_GL_SetAttribute, GL Attributes

SDL			    Tue	11 Sep 2001, 23:01	SDL_GL_GetAttribute(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=SDL_GL_GetAttribute&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help