mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-30 23:37:03 +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
|
||||
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user