Commit 60435712f2c9bffb7c244c69f8e406e9854f9376

Ryan C. Gordon 2020-06-03T16:42:19

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.