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:
parent
f7d90f4a0a
commit
ed279df1c4
1 changed files with 7 additions and 4 deletions
|
@ -1158,10 +1158,13 @@ void D_DrawSubdivC (void)
|
||||||
|
|
||||||
|
|
||||||
#ifdef PEXT_TRANS
|
#ifdef PEXT_TRANS
|
||||||
if (r_pixbytes == 4)
|
if (transbackfac)
|
||||||
drawfnc = D_PolysetRecursiveTriangle32Trans;
|
{
|
||||||
else if (r_pixbytes == 1)
|
if (r_pixbytes == 4)
|
||||||
drawfnc = D_PolysetRecursiveTriangleTrans;
|
drawfnc = D_PolysetRecursiveTriangle32Trans;
|
||||||
|
else if (r_pixbytes == 1)
|
||||||
|
drawfnc = D_PolysetRecursiveTriangleTrans;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
drawfnc = D_PolysetRecursiveTriangleC;
|
drawfnc = D_PolysetRecursiveTriangleC;
|
||||||
|
|
Loading…
Reference in a new issue