Added InitAll InitConfig that sets all flags to true.

This commit is contained in:
Sander Schobers 2018-02-10 09:13:35 +01:00
parent 2fae8a5012
commit 4d98c63391

View File

@ -22,6 +22,8 @@ type InitConfig struct {
Mouse bool Mouse bool
} }
var InitAll = InitConfig{true, true, true, true, true}
// Init initializes the Allegro system // Init initializes the Allegro system
func Init(config InitConfig) error { func Init(config InitConfig) error {
if !bool(C.init()) { if !bool(C.init()) {