SDL_GetVideoInfo - Man Page

returns a pointer to information about the video hardware

Synopsis

#include "SDL.h"

SDL_VideoInfo *SDL_GetVideoInfo(void);

Description

This function returns a read-only pointer to information about the video hardware. If this is called before SDL_SetVideoMode, the vfmt member of the returned structure will contain the pixel format of the "best" video mode.

See Also

SDL_SetVideoMode, SDL_VideoInfo

Referenced By

SDL_ListModes(3), SDL_VideoInfo(3), SDL_VideoModeOK(3).

Tue 11 Sep 2001, 23:01 SDL API Reference