Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
video: Set window->surface NULL after freeing it.
Otherwise, when SDL_CreateWindowFramebuffer() is called again, it will return the free'd surface instead of creating a new one.
- Loading branch information