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();
|
quickqueue();
|
||||||
|
glflush();
|
||||||
|
|
||||||
for(auto& r: radarpoints)
|
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);
|
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();
|
calcparam();
|
||||||
|
|
||||||
string s0;
|
string s0;
|
||||||
|
@ -621,6 +623,7 @@ XLAT(
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
glflush();
|
||||||
achievement_display();
|
achievement_display();
|
||||||
|
|
||||||
callhooks(hooks_stats);
|
callhooks(hooks_stats);
|
||||||
|
|
Loading…
Reference in New Issue