summaryrefslogtreecommitdiffstats
path: root/src/render/Draw.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-24 10:47:17 +0200
committerGitHub <noreply@github.com>2020-05-24 10:47:17 +0200
commit19a0c8b462a6aa6858f8447b171b53a80106ea22 (patch)
tree40ac418dc725d9d17fd22d7b445029977e0ef7c5 /src/render/Draw.h
parentMerge pull request #582 from Nick007J/miami (diff)
parentMenu borders and weapon fixes (diff)
downloadre3-19a0c8b462a6aa6858f8447b171b53a80106ea22.tar
re3-19a0c8b462a6aa6858f8447b171b53a80106ea22.tar.gz
re3-19a0c8b462a6aa6858f8447b171b53a80106ea22.tar.bz2
re3-19a0c8b462a6aa6858f8447b171b53a80106ea22.tar.lz
re3-19a0c8b462a6aa6858f8447b171b53a80106ea22.tar.xz
re3-19a0c8b462a6aa6858f8447b171b53a80106ea22.tar.zst
re3-19a0c8b462a6aa6858f8447b171b53a80106ea22.zip
Diffstat (limited to 'src/render/Draw.h')
-rw-r--r--src/render/Draw.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/render/Draw.h b/src/render/Draw.h
index 55958a2a..46e85e49 100644
--- a/src/render/Draw.h
+++ b/src/render/Draw.h
@@ -38,12 +38,10 @@ public:
static void SetFOV(float fov);
static float GetFOV(void) { return ms_fFOV; }
- static float FindAspectRatio(void);
+ static float CalculateAspectRatio(void);
#ifdef ASPECT_RATIO_SCALE
static float ConvertFOV(float fov);
+#endif
static float GetAspectRatio(void) { return ms_fAspectRatio; }
static void SetAspectRatio(float ratio) { ms_fAspectRatio = ratio; }
-#else
- static float GetAspectRatio(void) { return FindAspectRatio(); }
-#endif
};