diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/maindialog.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp index 1964531..784cd59 100644 --- a/src/ui/maindialog.cpp +++ b/src/ui/maindialog.cpp @@ -2075,9 +2075,10 @@ bool CMainDialog::EventProcess(const Event &event) { m_shotDelay --; if ( m_shotDelay == 0 ) - { - m_engine->WriteScreenShot(m_shotName, 320, 240); - //? m_engine->WriteScreenShot(m_shotName, 160, 120); + { + Math::IntPoint screenSize = m_app->GetVideoConfig().size; + + m_engine->WriteScreenShot(m_shotName, screenSize.x, screenSize.y); } } |