diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-05-24 01:59:30 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-05-24 02:05:48 +0200 |
commit | 4870d9a31be6302037eb7ddcf0b99ea25ebccabc (patch) | |
tree | 51090b47226f961387b2aa5969b133d23d9b4f5e /src/render/Draw.h | |
parent | Merge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff) | |
download | re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar.gz re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar.bz2 re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar.lz re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar.xz re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar.zst re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Draw.h | 6 |
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 }; |