mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Fix alpha test for COPY cyclemode.
Fixed text in menu in F-1 Pole Position.
This commit is contained in:
parent
4fd702bfe3
commit
296476405a
|
@ -942,7 +942,7 @@ void ShaderCombiner::updateAlphaTestInfo(bool _bForce) {
|
|||
_setIUniform(m_uniforms.uEnableAlphaTest, 0, _bForce);
|
||||
_setFUniform(m_uniforms.uAlphaTestValue, 0.0f, _bForce);
|
||||
} else if (gDP.otherMode.cycleType == G_CYC_COPY) {
|
||||
if (gDP.otherMode.alphaCompare == G_AC_THRESHOLD) {
|
||||
if (gDP.otherMode.alphaCompare & 1) {
|
||||
_setIUniform(m_uniforms.uEnableAlphaTest, 1, _bForce);
|
||||
_setFUniform(m_uniforms.uAlphaTestValue, 0.5f, _bForce);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user