mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 19:02:45 +00:00
Fix GL y-shearing ignoring a Y-flipped transform
This commit is contained in:
parent
958d397cdb
commit
d87c874559
1 changed files with 2 additions and 0 deletions
|
@ -2939,6 +2939,8 @@ EXPORT void HWRAPI(SetTransform) (FTransform *stransform)
|
|||
if (shearing)
|
||||
{
|
||||
float fdy = stransform->viewaiming * 2;
|
||||
if (stransform->flip)
|
||||
fdy *= -1.0f;
|
||||
pglTranslatef(0.0f, -fdy/BASEVIDHEIGHT, 0.0f);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue