Solaris  - SDL_GL_GetAttribute (3)

NAME

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

CONTENTS

SYNOPSIS

#include "SDL.h"

int SDL_GL_GetAttribute(SDLGLattr attr, int *value);

advertisement

advertisement


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

Jump to page    or go to Top of page |  Section 3 |  OpenSolaris Man Main Index.


SDL SDL_GL_GetAttribute (3) Tue 11 Sep 2001, 23:01
Generated by OpenSolaris Forum from /usr/share/man/man3/SDL_GL_GetAttribute.3 using man macros.