1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-10 15:59:53 +00:00

CAP_ORIENTATION is optional in hyperweb

This commit is contained in:
Zeno Rogue 2018-02-26 13:17:29 +01:00
parent 97aa318f79
commit 458baefab6

View File

@ -11,10 +11,13 @@
#define CAP_SDLTTF 0 #define CAP_SDLTTF 0
#define CAP_SHMUP 0 #define CAP_SHMUP 0
#define CAP_RUG 1 #define CAP_RUG 1
#define CAP_ORIENTATION 1
#define CAP_INV 0 #define CAP_INV 0
#define GLES_ONLY #define GLES_ONLY
#ifndef CAP_ORIENTATION
#define CAP_ORIENTATION 1
#endif
#ifdef FAKEWEB #ifdef FAKEWEB
void mainloopiter(); void mainloopiter();
template<class A, class B, class C> void emscripten_set_main_loop(A a, B b, C c) { while(true) mainloopiter(); } template<class A, class B, class C> void emscripten_set_main_loop(A a, B b, C c) { while(true) mainloopiter(); }