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:
hrydgard 2009-02-28 22:35:34 +00:00
parent ecbfec2a13
commit 5e06540245
1 changed files with 2 additions and 1 deletions

View File

@ -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