Commit 22904286 authored by hybrid's avatar hybrid

Fix resize with sw drivers, thanks to asphodeli

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2320 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 9d1b9404
...@@ -680,7 +680,7 @@ bool CIrrDeviceSDL::present(video::IImage* surface, void* windowId, core::rect<s ...@@ -680,7 +680,7 @@ bool CIrrDeviceSDL::present(video::IImage* surface, void* windowId, core::rect<s
} }
else else
SDL_BlitSurface(sdlSurface, NULL, scr, NULL); SDL_BlitSurface(sdlSurface, NULL, scr, NULL);
SDL_UpdateRect(scr, 0, 0, surface->getDimension().Width, surface->getDimension().Height); SDL_Flip(scr);
} }
SDL_FreeSurface(sdlSurface); SDL_FreeSurface(sdlSurface);
......
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