mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-17 21:39:22 +00:00
Fix sprite vertical scale
This commit is contained in:
parent
6473778c47
commit
6647312660
4 changed files with 9 additions and 9 deletions
|
@ -107,10 +107,8 @@ extern void **rwengine;
|
|||
|
||||
#ifdef ASPECT_RATIO_SCALE
|
||||
#define SCREEN_SCALE_AR(a) ((a) * DEFAULT_ASPECT_RATIO / SCREEN_ASPECT_RATIO)
|
||||
#define SCREEN_SCALE_AR2(a) ((a) / (DEFAULT_ASPECT_RATIO / SCREEN_ASPECT_RATIO))
|
||||
#else
|
||||
#define SCREEN_SCALE_AR(a) (a)
|
||||
#define SCREEN_SCALE_AR2(a) (a)
|
||||
#endif
|
||||
|
||||
#include "maths.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue