1
0
Fork 0
forked from fte/fteqw

fix to 8-bit SW

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1538 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2005-10-26 04:59:21 +00:00
parent f7d90f4a0a
commit ed279df1c4

View file

@ -1158,10 +1158,13 @@ void D_DrawSubdivC (void)
#ifdef PEXT_TRANS
if (r_pixbytes == 4)
drawfnc = D_PolysetRecursiveTriangle32Trans;
else if (r_pixbytes == 1)
drawfnc = D_PolysetRecursiveTriangleTrans;
if (transbackfac)
{
if (r_pixbytes == 4)
drawfnc = D_PolysetRecursiveTriangle32Trans;
else if (r_pixbytes == 1)
drawfnc = D_PolysetRecursiveTriangleTrans;
}
else
#endif
drawfnc = D_PolysetRecursiveTriangleC;