examples/rotate: Update the resolution

This commit is contained in:
Hajime Hoshi 2020-11-05 00:37:24 +09:00
parent 552fbb7ed9
commit 61a8f2c69c

View File

@ -28,8 +28,8 @@ import (
)
const (
screenWidth = 320
screenHeight = 240
screenWidth = 640
screenHeight = 480
)
var (
@ -84,7 +84,7 @@ func main() {
}
gophersImage = ebiten.NewImageFromImage(img)
ebiten.SetWindowSize(screenWidth*2, screenHeight*2)
ebiten.SetWindowSize(screenWidth, screenHeight)
ebiten.SetWindowTitle("Rotate (Ebiten Demo)")
if err := ebiten.RunGame(&Game{}); err != nil {
log.Fatal(err)