... void close() { //Free loaded image SDL_DestroyTexture( gTexture ); ... to remember to deallocate our textures using SDL_DestroyTexture.
確定! 回上一頁