Penguin
Note: You are viewing an old revision of this page. View the current version.

SDL_GL_GetAttribute?

SDL_GL_GetAttribute?

NAME SYNOPSIS DESCRIPTION RETURN VALUE SEE ALSO


NAME

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

SYNOPSIS

#include

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


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.