Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
video: NULL out pointer to freed window surface
This behavior matches SDL_RecreateWindow and makes it less likely that another piece of code (e.g. a DestroyWindowFramebuffer implementation) will attempt to use or free the stale surface pointer.
- Loading branch information