SDL_GetVideoInfo

» Name

SDL_GetVideoInfo -- Returns a pointer to information about the video hardware.

» Synopsis

module "/pliant/SDL/SDL.pli"

function SDL_GetVideoInfo -> info
 arg Address info #(SDL_VideoInfo)
 external sdl_library "SDL_GetVideoInfo"
  

» 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

*Parts extracted and reproduced from official SDL documentation copyrighted by Sam Lantinga, also author of SDL.