mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Restore screenshot key functionality
This commit is contained in:
parent
2a85a22dba
commit
e642f20a65
3 changed files with 63 additions and 18 deletions
|
@ -41,6 +41,8 @@ InputWrapper::InputWrapper(SDL_Window* window, osg::ref_ptr<osgViewer::Viewer> v
|
|||
|
||||
void InputWrapper::capture(bool windowEventsOnly)
|
||||
{
|
||||
mViewer->getEventQueue()->frame(0.f);
|
||||
|
||||
SDL_PumpEvents();
|
||||
|
||||
SDL_Event evt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue