Added InitAll InitConfig that sets all flags to true.
This commit is contained in:
parent
2fae8a5012
commit
4d98c63391
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user