Function initVideo
Wraps SDL_VideoInit
which initializes the video subsystem while specifying the video driver used
void initVideo
(
string driverName
) @trusted;
Parameters
Name | Description |
---|---|
driverName | the name of the video driver |
Throws
dsdl
if the video driver could not be initialized