[Commits] SDL: Fixed bug 1412 - Patch - Software renderer crash
libsdl.org revision control
commits-owner at libsdl.org
Tue Feb 7 16:36:23 PST 2012
details: http://hg.libsdl.org/SDL/rev/03a7ceb3487b
changeset: 6283:03a7ceb3487b
user: Sam Lantinga <slouken at libsdl.org>
date: Tue Feb 07 19:34:24 2012 -0500
description:
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
diffstat:
src/render/software/SDL_render_sw.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 64ae376becce -r 03a7ceb3487b src/render/software/SDL_render_sw.c
--- a/src/render/software/SDL_render_sw.c Tue Feb 07 02:11:42 2012 -0500
+++ b/src/render/software/SDL_render_sw.c Tue Feb 07 19:34:24 2012 -0500
@@ -183,6 +183,7 @@
if (event->event == SDL_WINDOWEVENT_SIZE_CHANGED) {
data->surface = NULL;
+ data->window = NULL;
}
}
More information about the commits
mailing list