Allow large skins in sw32.

Dirty rotten magic numbers :P
This commit is contained in:
Bill Currie 2012-04-25 10:47:44 +09:00
parent 866c56c236
commit ba7046ea09

View file

@ -376,7 +376,7 @@ sw32_D_PolysetCalcGradients (int skinwidth)
static void
D_PolysetDrawSpans (spanpackage_t * pspanpackage)
{
int i, j, texscantable[1024], *texscan;
int i, j, texscantable[2*MAX_LBM_HEIGHT], *texscan;
// LordHavoc: compute skin row table
for (i = 0, j = -sw32_r_affinetridesc.skinheight * sw32_r_affinetridesc.skinwidth;
i < sw32_r_affinetridesc.skinheight*2;i++, j += sw32_r_affinetridesc.skinwidth)