diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-07-17 20:15:47 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-07-17 20:15:47 +0200 |
commit | 30384bb4efa5905051859eb931883e7401056c66 (patch) | |
tree | 16c3c6f2b7c8b4478c56c587a3b2fc3ce97e5a42 /src/render/Sprite.cpp | |
parent | Merge branch 'master' into miami (diff) | |
parent | Add fix/workaround for black screen at startup (diff) | |
download | re3-30384bb4efa5905051859eb931883e7401056c66.tar re3-30384bb4efa5905051859eb931883e7401056c66.tar.gz re3-30384bb4efa5905051859eb931883e7401056c66.tar.bz2 re3-30384bb4efa5905051859eb931883e7401056c66.tar.lz re3-30384bb4efa5905051859eb931883e7401056c66.tar.xz re3-30384bb4efa5905051859eb931883e7401056c66.tar.zst re3-30384bb4efa5905051859eb931883e7401056c66.zip |
Diffstat (limited to 'src/render/Sprite.cpp')
-rw-r--r-- | src/render/Sprite.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/render/Sprite.cpp b/src/render/Sprite.cpp index a6d2db7b..f26f8e63 100644 --- a/src/render/Sprite.cpp +++ b/src/render/Sprite.cpp @@ -29,11 +29,7 @@ CSprite::CalcScreenCoors(const RwV3d &in, RwV3d *out, float *outw, float *outh, float recip = 1.0f/out->z; out->x *= SCREEN_WIDTH * recip; out->y *= SCREEN_HEIGHT * recip; -#ifdef ASPECT_RATIO_SCALE - float fov = CDraw::ConvertFOV(DefaultFOV); -#else const float fov = DefaultFOV; -#endif // this is used to scale correctly if you zoom in with sniper rifle float fovScale = fov / CDraw::GetFOV(); |