SDL::Video::get_video_info
. This module only provides getters to the struct SDL_VideoInfo
.SDL::Video::get_video_info
. It contains information on either the best available mode if called before SDL::Video::set_video_mode
or the current video mode if called after SDL::Video::set_video_mode
.SDL::PixelFormat
of the video deviceSDL_GetVideoInfo
was called before SDL::Video::set_video_mode
(available since SDL 1.2.10)