mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +01:00
examples/blend: disable resizing the window
This commit is contained in:
parent
ac370d3678
commit
84a86c86e4
@ -183,7 +183,6 @@ func drawCenteredText(screen *ebiten.Image, cx, cy float64, s string) {
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
ebiten.SetWindowSize(screenWidth, screenHeight)
|
ebiten.SetWindowSize(screenWidth, screenHeight)
|
||||||
ebiten.SetWindowResizingMode(ebiten.WindowResizingModeEnabled)
|
|
||||||
ebiten.SetWindowTitle("Blend modes (Ebitengine Demo)")
|
ebiten.SetWindowTitle("Blend modes (Ebitengine Demo)")
|
||||||
|
|
||||||
game, err := NewGame()
|
game, err := NewGame()
|
||||||
|
Loading…
Reference in New Issue
Block a user