revert a small change that broke gl. i'll find a generic solution later.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2485 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ecbfec2a13
commit
5e06540245
|
@ -928,7 +928,8 @@ static bool WriteAlphaTest(char *&p)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
WRITE(p, "clip( ");
|
// Seems we need clip for Cg and discard for d3d. sigh.
|
||||||
|
WRITE(p, "discard( ");
|
||||||
WriteAlphaCompare(p, 0, bpmem.alphaFunc.comp0);
|
WriteAlphaCompare(p, 0, bpmem.alphaFunc.comp0);
|
||||||
|
|
||||||
// negated because testing the inverse condition
|
// negated because testing the inverse condition
|
||||||
|
|
Loading…
Reference in New Issue