Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed bug 1412 - Patch - Software renderer crash

Dimitris Zenios Date: 2012-02-06 15:12:37 GMT

Hi gus there is a bug when using software renderer and the window
surface gets destroyed (Fullscreen and back).The solution is easy
  • Loading branch information
slouken committed Feb 8, 2012
1 parent dea51d2 commit 1b40a1e5a3ee9e80fd071471954381d3d0b06989

File 1 of 1 in 1b40a1e

@@ -183,6 +183,7 @@ SW_WindowEvent(SDL_Renderer * renderer, const SDL_WindowEvent *event)

if (event->event == SDL_WINDOWEVENT_SIZE_CHANGED) {
data->surface = NULL;
data->window = NULL;
}
}

0 comments on commit 1b40a1e

Please sign in to comment.