sdl_getvideoinfo — returns a pointer to information about the video hardware
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 the section called “Resources”.