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