Header Ads Widget

[MAN] SDL_GL_GetAttribute

Content-type: text/html; charset=UTF-8 Man page of SDL_GL_GetAttribute

SDL_GL_GetAttribute

Section: SDL API Reference (3)
Updated: Tue 11 Sep 2001, 23:01
Index Return to Main Contents
 

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 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


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 04:45:41 GMT, September 16, 2022

댓글 쓰기

0 댓글