commit | b7252b8c26cb64a563d6091bee4841e668d84a62 | [log] [tgz] |
---|---|---|
author | Ryan C. Gordon <icculus@icculus.org> | Wed Jun 03 16:42:19 2020 -0400 |
committer | Ryan C. Gordon <icculus@icculus.org> | Wed Jun 03 16:42:19 2020 -0400 |
tree | 704d5c82ddf3e0a064c809ac6ee7b71dfb6cb531 | |
parent | 8168f312b4064896237cd8564f8e09f66b7bce43 [diff] |
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. --HG-- extra : rebase_source : 83e1f3f0b41d39ac1e344dd0550212e8ce75a66f