summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-08-15 18:11:44 +0200
committerGitHub <noreply@github.com>2019-08-15 18:11:44 +0200
commit4f0b63d393d4aead864872d5189e0abe6617ded4 (patch)
tree38d6dc59862d56630d5dbaafa79f78f4e9f73d10 /src/core/main.cpp
parentMerge pull request #191 from erorcun/erorcun (diff)
parentAnimViewer fixes (diff)
downloadre3-4f0b63d393d4aead864872d5189e0abe6617ded4.tar
re3-4f0b63d393d4aead864872d5189e0abe6617ded4.tar.gz
re3-4f0b63d393d4aead864872d5189e0abe6617ded4.tar.bz2
re3-4f0b63d393d4aead864872d5189e0abe6617ded4.tar.lz
re3-4f0b63d393d4aead864872d5189e0abe6617ded4.tar.xz
re3-4f0b63d393d4aead864872d5189e0abe6617ded4.tar.zst
re3-4f0b63d393d4aead864872d5189e0abe6617ded4.zip
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r--src/core/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index ac31b56e..7d60291c 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -110,6 +110,9 @@ InitialiseGame(void)
void
TheModelViewer(void)
{
+#ifdef ASPECT_RATIO_SCALE
+ CDraw::SetAspectRatio(CDraw::FindAspectRatio());
+#endif
CAnimViewer::Update();
CTimer::Update();
SetLightsWithTimeOfDayColour(Scene.world);