set window size

This commit is contained in:
filifa 2024-08-22 19:54:02 -05:00
parent 908d12ccc9
commit a67aa7a4ae
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ func main() {
}
defer C.projectm_destroy(handle)
C.projectm_set_window_size(handle, 800, 600)
surface, err := window.GetSurface()
if err != nil {
panic(err)