func (p *PixelFormat) Free() { C.SDL_FreeFormat(p.c()) }
// Free frees a PixelFormat created by AllocFormat. func (format *PixelFormat) Free() { C.SDL_FreeFormat((*C.SDL_PixelFormat)(unsafe.Pointer(format))) }
func freesurf(s *Surface) { C.SDL_FreeSurface(s.surf) C.SDL_FreeFormat(s.pixfmt) }