CreateWindow creates a window with the specified parameters
(title string, width, height int, fullscreen bool, msaa int)
| 28 | |
| 29 | // CreateWindow creates a window with the specified parameters |
| 30 | func CreateWindow(title string, width, height int, fullscreen bool, msaa int) { |
| 31 | CurrentBackEnd = BackEndMobile |
| 32 | gameWidth = float32(width) |
| 33 | gameHeight = float32(height) |
| 34 | msaaPreference = msaa |
| 35 | } |
| 36 | |
| 37 | // WindowSize returns the width and height of the current window |
| 38 | func WindowSize() (w, h int) { |
no outgoing calls