作者:kearsle
项目:Go-SD
// Toggles fullscreen mode
func WM_ToggleFullScreen(surface *Surface) int {
GlobalMutex.Lock()
status := int(C.SDL_WM_ToggleFullScreen(surface.cSurface))
GlobalMutex.Unlock()
return status
}
作者:gnanderso
项目:Go-SD
// Toggles fullscreen mode
func WM_ToggleFullScreen(surface *Surface) int {
return int(C.SDL_WM_ToggleFullScreen((*C.SDL_Surface)(cast(surface))))
}