initVideo

Wraps SDL_VideoInit which initializes the video subsystem while specifying the video driver used

@safe @trusted
void
initVideo
(
string driverName
)

Parameters

driverName string

the name of the video driver

Throws

dsdl2.SDLException if the video driver could not be initialized

Meta