(SDL3バージョンはSDL3/SDL_GetSurfaceClipRectを参照すること)
void SDL_GetClipRect(SDL_Surface* surface, SDL_Rect* rect)