game: fullscreen on F11

This commit is contained in:
2022-01-26 23:31:40 +08:00
parent 13649fad18
commit d8df67bc20
2 changed files with 20 additions and 1 deletions

View File

@@ -24,7 +24,9 @@ type Game struct {
rotY itype.Angle
rotZ float32 // Degrees in range (-90, 90)
fbSize itype.Vec2i
fbSize itype.Vec2i
fullscreen bool
lastPos, lastSize itype.Vec2i // Window size before entering fullscreen
io imgui.IO
gui guiState