mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-17 01:31:25 +00:00
- fixed logic error with depth bias state in hardware renderer.
This commit is contained in:
parent
84458ddb9f
commit
e6c6471e2f
1 changed files with 2 additions and 2 deletions
|
@ -585,7 +585,7 @@ public:
|
|||
|
||||
void SetDepthBias(float a, float b)
|
||||
{
|
||||
mBias.mChanged = mBias.mFactor != a || mBias.mUnits != b;
|
||||
mBias.mChanged |= mBias.mFactor != a || mBias.mUnits != b;
|
||||
mBias.mFactor = a;
|
||||
mBias.mUnits = b;
|
||||
}
|
||||
|
@ -597,7 +597,7 @@ public:
|
|||
|
||||
void ClearDepthBias()
|
||||
{
|
||||
mBias.mChanged = mBias.mFactor != 0 || mBias.mUnits != 0;
|
||||
mBias.mChanged |= mBias.mFactor != 0 || mBias.mUnits != 0;
|
||||
mBias.mFactor = 0;
|
||||
mBias.mUnits = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue