// Toggles fullscreen mode func WM_ToggleFullScreen(surface *Surface) int { GlobalMutex.Lock() status := int(C.SDL_WM_ToggleFullScreen(surface.cSurface)) GlobalMutex.Unlock() return status }
// Toggles fullscreen mode func WM_ToggleFullScreen(surface *Surface) int { return int(C.SDL_WM_ToggleFullScreen((*C.SDL_Surface)(cast(surface)))) }