mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
"horizon offset should not be affected by projection hack"
git-svn-id: https://svn.eduke32.com/eduke32@7675 1a8010ca-5511-0410-912e-c29ae57300e0 # Conflicts: # source/build/src/polymost.cpp
This commit is contained in:
parent
9df490434d
commit
91b9a605fa
1 changed files with 1 additions and 1 deletions
|
@ -1368,7 +1368,7 @@ static void resizeglcheck(void)
|
||||||
m[0][0] = 1.f;
|
m[0][0] = 1.f;
|
||||||
m[1][1] = fxdimen / (fydimen * ratio);
|
m[1][1] = fxdimen / (fydimen * ratio);
|
||||||
m[2][0] = 2.f * ghoriz2 * gstang / fxdimen;
|
m[2][0] = 2.f * ghoriz2 * gstang / fxdimen;
|
||||||
m[2][1] = 2.f * (ghoriz2 * gctang + ghorizcorrect) / (fydimen * ratio);
|
m[2][1] = 2.f * (ghoriz2 * gctang + ghorizcorrect) / fydimen;
|
||||||
m[2][2] = (farclip + nearclip) / (farclip - nearclip);
|
m[2][2] = (farclip + nearclip) / (farclip - nearclip);
|
||||||
m[2][3] = 1.f;
|
m[2][3] = 1.f;
|
||||||
m[3][2] = -(2.f * farclip * nearclip) / (farclip - nearclip);
|
m[3][2] = -(2.f * farclip * nearclip) / (farclip - nearclip);
|
||||||
|
|
Loading…
Reference in a new issue