Combined two Allegro related code units.

This commit is contained in:
Sander Schobers 2020-05-26 18:54:26 +02:00
parent 6ce7baed2b
commit 8264942602
2 changed files with 3 additions and 6 deletions

View File

@ -8,6 +8,9 @@ import (
_ "opslag.de/schobers/zntg/allg5ui" // rendering backend
)
// #cgo windows,allegro LDFLAGS: -Wl,-subsystem,windows
import "C"
func init() {
log.Println("Using Allegro5 rendering backend")
}

View File

@ -1,6 +0,0 @@
// +build windows,allegro
package main
// #cgo LDFLAGS: -Wl,-subsystem,windows
import "C"