From 4d98c63391af40063b1e870a0bce71149d6269f6 Mon Sep 17 00:00:00 2001 From: Sander Schobers Date: Sat, 10 Feb 2018 09:13:35 +0100 Subject: [PATCH] Added InitAll InitConfig that sets all flags to true. --- allegro5/system.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/allegro5/system.go b/allegro5/system.go index 1533604..f95ea8f 100644 --- a/allegro5/system.go +++ b/allegro5/system.go @@ -22,6 +22,8 @@ type InitConfig struct { Mouse bool } +var InitAll = InitConfig{true, true, true, true, true} + // Init initializes the Allegro system func Init(config InitConfig) error { if !bool(C.init()) {