added missing CAP_TEXTURE guard in rogueviz

This commit is contained in:
Zeno Rogue 2021-09-04 22:00:41 +02:00
parent 46f2fa4f9a
commit 01ebce9496
1 changed files with 2 additions and 0 deletions

View File

@ -494,6 +494,7 @@ void queuedisk(const shiftmatrix& V, const colorpair& cp, bool legend, const str
else
poly_outline = (bordcolor << 8) | 0xFF;
#if CAP_TEXTURE
if(cp.img) {
for(hyperpoint h: cp.img->vertices)
curvepoint(h);
@ -502,6 +503,7 @@ void queuedisk(const shiftmatrix& V, const colorpair& cp, bool legend, const str
qc.flags |= POLY_TRIANGLES;
return;
}
#endif
shiftmatrix V1;