A simple solution could be to change the signature/implementation of getRect as follows: SDL_Rect *getRect() { return ▭ } Then you can call SDL_RenderCopy ...
確定! 回上一頁