SDL2.this

Load SDL2 library, redirect logging to our logger. You can pass a null logger if you don't want logging. To specify a minimum version of SDL2 you need to use compile time versions (SDL_201, SDL_202, etc.)

class SDL2
this
(
Logger logger
)

Parameters

logger Logger

The logger to redirect logging to.

Throws

SDL2Exception on error.

See Also

https://github.com/BindBC/bindbc-sdl Creating this object doesn't initialize any SDL subsystem! http://wiki.libsdl.org/SDL_Init, subSystemInit

Meta