summaryrefslogtreecommitdiffstats
path: root/src/render/Draw.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-05-24 01:59:30 +0200
committereray orçunus <erayorcunus@gmail.com>2020-05-24 02:05:48 +0200
commit4870d9a31be6302037eb7ddcf0b99ea25ebccabc (patch)
tree51090b47226f961387b2aa5969b133d23d9b4f5e /src/render/Draw.h
parentMerge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff)
downloadre3-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 '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
};