Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes a problem that occurred if no previous set rect was available. In that case, both SDL_RenderGetClipRect and SDL_RenderGetViewport returned empty rects and those were being set as the appropriate clip rects when the raii object was destroyed.
- Loading branch information