Pike v8.0 release 1738

Method SDL.video_driver_name()


Method video_driver_name

void|string video_driver_name()

Description

Obtains the name of the video driver. This is a simple one-word identifier such as 'x11' or 'windib'.

Returns

The name of the video driver, or 0 if video has not yet been initialized (with a call to SDL.init()).