mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-21 18:21:08 +00:00
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:
parent
1b1787bb50
commit
844cd2d8a8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue