mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 15:26:55 -05:00
Fixed direction of y adjustment for new orthographic projection in the metal renderer
This commit is contained in:
parent
df064d1ac6
commit
bfc13303db
|
|
@ -825,7 +825,7 @@ adjustx(const float val)
|
|||
static inline float
|
||||
adjusty(const float val)
|
||||
{
|
||||
return (val - 0.5f);
|
||||
return (val + 0.5f);
|
||||
}
|
||||
|
||||
// normalize a value from 0.0f to len into 0.0f to 1.0f.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user