examples/textinput: remove message

Updates #3072
This commit is contained in:
Hajime Hoshi 2024-08-27 00:02:25 +09:00
parent dc68152f17
commit 5f595efef0

View File

@ -19,7 +19,6 @@ import (
"image/color" "image/color"
"log" "log"
"math" "math"
"runtime"
"strings" "strings"
"unicode/utf8" "unicode/utf8"
@ -324,10 +323,6 @@ func (g *Game) Layout(outsideWidth, outsideHeight int) (int, int) {
} }
func main() { func main() {
if runtime.GOOS != "darwin" && runtime.GOOS != "js" {
log.Printf("github.com/hajimehoshi/ebiten/v2/exp/textinput is not supported in this environment (GOOS=%s) yet", runtime.GOOS)
}
ebiten.SetWindowSize(screenWidth, screenHeight) ebiten.SetWindowSize(screenWidth, screenHeight)
ebiten.SetWindowTitle("Text Input (Ebitengine Demo)") ebiten.SetWindowTitle("Text Input (Ebitengine Demo)")
if err := ebiten.RunGame(&Game{}); err != nil { if err := ebiten.RunGame(&Game{}); err != nil {