std::shared_ptr<SDL_Surface>(SDL_LoadBMP(....), [=](SDL_Surface* surface) { std::cout << "Deleting surface "; SDL_FreeSurface(surface); });.
確定! 回上一頁