Commit 1ebf771a authored by Sam Lantinga's avatar Sam Lantinga

Fixed crash when resizing the window with the software renderer.

This is similar to the crash fix in the OpenGL renderer in revision 4187

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403367
parent 03f292e2
......@@ -360,8 +360,9 @@ SW_DisplayModeChanged(SDL_Renderer * renderer)
return -1;
}
}
/* Rebind the context to the window area */
data->updateSize = SDL_TRUE;
return 0;
return SW_ActivateRenderer(renderer);
}
static int
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment