1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-31 17:57:56 +00:00

added CAP_GL guards

This commit is contained in:
Zeno Rogue
2021-09-04 21:54:42 +02:00
parent e2ba882b55
commit 97ec940744
2 changed files with 5 additions and 1 deletions

View File

@@ -1390,6 +1390,7 @@ EX namespace dice {
#if !CAP_EXTFONT
if(!vid.usingGL) continue;
#if CAP_GL
pointfunction pf = [&] (ld x, ld y) {
dynamicval<eGeometry> g(geometry, highdim);
return sphere_to_space(normalize(ctr + cx * x + cy * y));
@@ -1419,6 +1420,7 @@ EX namespace dice {
write_in_space(V1, max_glfont_size, dw->faces < 10 ? -1.2 : -.75, s, 0xFFFFFFFF, 0, 8, PPR::WALL, pf);
}
#endif
#endif
}
}