1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-29 22:10:18 +00:00

made it compile with RUG on emscripten (at least it should -- it does not work for me because of an emscripten bug apparently)

This commit is contained in:
Zeno Rogue
2018-02-03 14:31:17 +01:00
parent 84b7f73920
commit ad172724e8
10 changed files with 59 additions and 38 deletions

View File

@@ -1074,9 +1074,11 @@ void saveHighQualityShot(const char *fname, const char *caption, int fade) {
for(int i=0; i<numi; i++) {
glbuf.clear(numi==1 ? backcolor : i ? 0xFFFFFF : 0);
#if CAP_RUG
if(rug::rugged)
rug::drawRugScene();
else
#endif
drawfullmap();
callhooks(hooks_hqshot, &glbuf);