diff options
author | aap <aap@papnet.eu> | 2020-06-21 14:50:00 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-06-21 14:52:44 +0200 |
commit | 60f736f20fe9493936dab95963b52b18d3353ffc (patch) | |
tree | 40a934885b26e9d44e88a4dd3965627ecfddd364 /src/render/Draw.cpp | |
parent | Merge branch 'miami' of github.com:GTAmodding/re3 into miami (diff) | |
download | re3-60f736f20fe9493936dab95963b52b18d3353ffc.tar re3-60f736f20fe9493936dab95963b52b18d3353ffc.tar.gz re3-60f736f20fe9493936dab95963b52b18d3353ffc.tar.bz2 re3-60f736f20fe9493936dab95963b52b18d3353ffc.tar.lz re3-60f736f20fe9493936dab95963b52b18d3353ffc.tar.xz re3-60f736f20fe9493936dab95963b52b18d3353ffc.tar.zst re3-60f736f20fe9493936dab95963b52b18d3353ffc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Draw.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/Draw.cpp b/src/render/Draw.cpp index e2dfc8d9..3f7d89c7 100644 --- a/src/render/Draw.cpp +++ b/src/render/Draw.cpp @@ -6,6 +6,7 @@ #ifdef ASPECT_RATIO_SCALE float CDraw::ms_fAspectRatio = DEFAULT_ASPECT_RATIO; +float CDraw::ms_fScaledFOV = 45.0f; #endif float CDraw::ms_fNearClipZ; @@ -60,8 +61,7 @@ void CDraw::SetFOV(float fov) { #ifdef ASPECT_RATIO_SCALE - ms_fFOV = ConvertFOV(fov); -#else - ms_fFOV = fov; + ms_fScaledFOV = ConvertFOV(fov); #endif + ms_fFOV = fov; } |