mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-06 08:24:06 +00:00
added missing CAP_TEXTURE guard in rogueviz
This commit is contained in:
parent
46f2fa4f9a
commit
01ebce9496
@ -494,6 +494,7 @@ void queuedisk(const shiftmatrix& V, const colorpair& cp, bool legend, const str
|
|||||||
else
|
else
|
||||||
poly_outline = (bordcolor << 8) | 0xFF;
|
poly_outline = (bordcolor << 8) | 0xFF;
|
||||||
|
|
||||||
|
#if CAP_TEXTURE
|
||||||
if(cp.img) {
|
if(cp.img) {
|
||||||
for(hyperpoint h: cp.img->vertices)
|
for(hyperpoint h: cp.img->vertices)
|
||||||
curvepoint(h);
|
curvepoint(h);
|
||||||
@ -502,6 +503,7 @@ void queuedisk(const shiftmatrix& V, const colorpair& cp, bool legend, const str
|
|||||||
qc.flags |= POLY_TRIANGLES;
|
qc.flags |= POLY_TRIANGLES;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
shiftmatrix V1;
|
shiftmatrix V1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user