1SDL_GetVideoInfo(3) SDL API Reference SDL_GetVideoInfo(3)
2
3
4
6 SDL_GetVideoInfo - returns a pointer to information about the video
7 hardware
8
10 #include "SDL.h"
11
12 SDL_VideoInfo *SDL_GetVideoInfo(void);
13
15 This function returns a read-only pointer to information about the
16 video hardware. If this is called before SDL_SetVideoMode, the vfmt
17 member of the returned structure will contain the pixel format of the
18 "best" video mode.
19
21 SDL_SetVideoMode, SDL_VideoInfo
22
23
24
25SDL Tue 11 Sep 2001, 23:01 SDL_GetVideoInfo(3)