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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user