Don't un-grab mouse when taking screenshots (fixes #18)

On windows un-grabbing (or possibly re-grabbing) the mouse seems to
mess up the view angly (view is centered afterwards), see
https://github.com/dhewm/dhewm3/issues/18
That's fixed by not releasing the mouse (there is no reason to do that
anyway).
This commit is contained in:
Daniel Gibson 2012-08-27 21:19:07 +02:00
parent 1b1787bb50
commit 844cd2d8a8

View file

@ -1084,7 +1084,7 @@ void R_ReadTiledPixels( int width, int height, byte *buffer, renderView_t *ref =
tr.primaryWorld->RenderScene( ref );
tr.EndFrame( NULL, NULL );
} else {
session->UpdateScreen();
session->UpdateScreen(false);
}
int w = oldWidth;