init

fun init(subsystems: Set<Subsystem>)(source)

Starts the given subsystems in addition to those already running; SDL counts each subsystem separately, so the call may be repeated for different subsystems. Start video before using any other platform function. quit shuts all of them down.

Throws

if SDL cannot start one of them.