summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-08-15 17:59:09 +0200
committereray orçunus <erayorcunus@gmail.com>2019-08-15 17:59:09 +0200
commit82dc813ab3030e0beff09c28a41e68ff8ce1ef42 (patch)
tree38d6dc59862d56630d5dbaafa79f78f4e9f73d10 /src/core/main.cpp
parentMerge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff)
downloadre3-82dc813ab3030e0beff09c28a41e68ff8ce1ef42.tar
re3-82dc813ab3030e0beff09c28a41e68ff8ce1ef42.tar.gz
re3-82dc813ab3030e0beff09c28a41e68ff8ce1ef42.tar.bz2
re3-82dc813ab3030e0beff09c28a41e68ff8ce1ef42.tar.lz
re3-82dc813ab3030e0beff09c28a41e68ff8ce1ef42.tar.xz
re3-82dc813ab3030e0beff09c28a41e68ff8ce1ef42.tar.zst
re3-82dc813ab3030e0beff09c28a41e68ff8ce1ef42.zip
Diffstat (limited to '')
-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);