1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 10:27:45 +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

View File

@@ -416,3 +416,12 @@ union SDL_Event;
#if ISWINDOWS
#undef hyper // avoid "hyper" typedef in <_mingw.h>
#endif
#ifndef MINIMIZE_GL_CALLS
#ifdef EMSCRIPTEN
#define MINIMIZE_GL_CALLS 1
#else
#define MINIMIZE_GL_CALLS 0
#endif
#endif