SDL_GetVideoInfo (3) Linux Manual Page
SDL_GetVideoInfo – returns a pointer to information about the video hardware
Synopsis
#include "SDL.h" SDL_VideoInfo *SDL_GetVideoInfo(void);
SDL_GetVideoInfo – returns a pointer to information about the video hardware
SDL_VideoInfo *SDL_GetVideoInfo(void);