more thorough reporting on bad surface extents

This commit is contained in:
Bill Currie 2002-08-27 16:01:51 +00:00
parent a0807c762f
commit f473a4fa17

View file

@ -463,8 +463,8 @@ CalcSurfaceExtents (msurface_t *s)
s->extents[i] = (bmaxs[i] - bmins[i]) * 16;
// FIXME even 512 is really too small, need a saner test
if (!(tex->flags & TEX_SPECIAL) && s->extents[i] > 512)
Sys_Error ("Bad surface extents: %x %d", tex->flags,
s->extents[i]);
Sys_Error ("Bad surface extents: %d %x %d %d", i, tex->flags,
s->extents[i], LongSwap (s->extents[i]));
}
}