qbsp: don't worry about preserving alignment of skip textures
And potentially save some texinfos. Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
b1144517b5
commit
a37ee84d17
|
|
@ -84,6 +84,10 @@ FindTexinfo(texinfo_t *texinfo)
|
||||||
if (texinfo->flags != target->flags)
|
if (texinfo->flags != target->flags)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
/* Don't worry about texture alignment on skip surfaces */
|
||||||
|
if (texinfo->flags & TEX_SKIP)
|
||||||
|
return index;
|
||||||
|
|
||||||
for (j = 0; j < 4; j++) {
|
for (j = 0; j < 4; j++) {
|
||||||
if (texinfo->vecs[0][j] != target->vecs[0][j])
|
if (texinfo->vecs[0][j] != target->vecs[0][j])
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue