func (win *Window) UpdateSurface() error { if C.SDL_UpdateWindowSurface(win.c) != 0 { return getError() } return nil }
func (w *Window) UpdateSurface() int { return int(C.SDL_UpdateWindowSurface(w.cWindow)) }
func (window *Window) UpdateSurface() int { _window := (*C.SDL_Window)(unsafe.Pointer(window)) return (int)(C.SDL_UpdateWindowSurface(_window)) }
// Window (https://wiki.libsdl.org/SDL_UpdateWindowSurface) func (window *Window) UpdateSurface() error { if C.SDL_UpdateWindowSurface(window.cptr()) != 0 { return GetError() } return nil }
// Update copies the window surface to the screen. // // Note: A Surface must be associated with the window before calling this // function. func (win *Window) Update() (err error) { if C.SDL_UpdateWindowSurface(win.cWin) != 0 { return getError() } return nil }
func (window *Window) UpdateSurface() int { return int(C.SDL_UpdateWindowSurface(window.cptr())) }