diff --git a/examples/rotate/main.go b/examples/rotate/main.go index af9164d4e..8e8a083ac 100644 --- a/examples/rotate/main.go +++ b/examples/rotate/main.go @@ -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)