diff options
Diffstat (limited to 'src/render/Draw.h')
-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 5c4f95b1..2976dc34 100644 --- a/src/render/Draw.h +++ b/src/render/Draw.h @@ -44,12 +44,10 @@ public: static float GetScaledFOV(void) { return ms_fFOV; } #endif - 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 }; |