Provided by: libsdl1.2-dev_1.2.15+dfsg2-5_amd64
SDL_GetVideoInfo - returns a pointer to information about the video hardware
#include "SDL.h" SDL_VideoInfo *SDL_GetVideoInfo(void);
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.