mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Correct dither condition.
This commit is contained in:
parent
b6b80d720f
commit
c7e089bcaf
|
@ -805,7 +805,7 @@ void GLSLCombiner::UpdateColors() {
|
|||
}
|
||||
}
|
||||
|
||||
int nDither = (gDP.otherMode.colorDither == 2 || gDP.otherMode.alphaDither == 2 || gDP.otherMode.alphaCompare == 3) ? 1 : 0;
|
||||
int nDither = (gDP.otherMode.alphaCompare == 3 && (gDP.otherMode.colorDither == 2 || gDP.otherMode.alphaDither == 2)) ? 1 : 0;
|
||||
int dither_location = glGetUniformLocationARB(m_programObject, "dither_enabled");
|
||||
glUniform1iARB(dither_location, nDither);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user