mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
flushes to prevent distorted graphics in web version
This commit is contained in:
parent
d07e6eb386
commit
85aa80f395
3
hud.cpp
3
hud.cpp
@ -377,6 +377,7 @@ void draw_radar(bool cornermode) {
|
||||
}
|
||||
|
||||
quickqueue();
|
||||
glflush();
|
||||
|
||||
for(auto& r: radarpoints)
|
||||
displaychr(int(cx + rad * r.h[0]), int(cy - rad * r.h[2]/3 + rad * r.h[1]*2/3), 0, 8, r.glyph, r.color);
|
||||
@ -538,6 +539,7 @@ void drawStats() {
|
||||
}
|
||||
}
|
||||
}
|
||||
glflush();
|
||||
calcparam();
|
||||
|
||||
string s0;
|
||||
@ -621,6 +623,7 @@ XLAT(
|
||||
#endif
|
||||
}
|
||||
|
||||
glflush();
|
||||
achievement_display();
|
||||
|
||||
callhooks(hooks_stats);
|
||||
|
Loading…
Reference in New Issue
Block a user