1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-18 12:12:05 +00:00

faster graphics with MINIMIZE_GL_CALLS

This commit is contained in:
Zeno Rogue
2018-09-04 23:27:27 +02:00
parent 5680ef3788
commit 35353fe70e
7 changed files with 133 additions and 29 deletions
+2
View File
@@ -2352,6 +2352,7 @@ void drawaura() {
);
}
}
glflush();
glhr::switch_mode(glhr::gmVarColored);
glhr::id_modelview();
glhr::prepare(auravertices);
@@ -5788,6 +5789,7 @@ void drawscreen() {
// SDL_UnlockSurface(s);
glflush();
DEBT("swapbuffers");
#if CAP_SDL
#if CAP_GL