mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 12:10:48 +00:00
more thorough reporting on bad surface extents
This commit is contained in:
parent
a0807c762f
commit
f473a4fa17
1 changed files with 2 additions and 2 deletions
|
@ -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]));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue