Provided by: libsdl1.2-dev_1.2.15+dfsg2-5_amd64
SDL_VideoDriverName - Obtain the name of the video driver
#include "SDL.h" char *SDL_VideoDriverName(char *namebuf, int maxlen);
The buffer pointed to by namebuf is filled up to a maximum of maxlen characters (include the NULL terminator) with the name of the initialised video driver. The driver name is a simple one word identifier like "x11" or "windib".
Returns NULL if video has not been initialised with SDL_Init or a pointer to namebuf otherwise.