From 458baefab6bc7369995c8dfb8d80acc2d45233a2 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 26 Feb 2018 13:17:29 +0100 Subject: [PATCH] CAP_ORIENTATION is optional in hyperweb --- hyperweb.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hyperweb.cpp b/hyperweb.cpp index 31b5dc48..a2195216 100644 --- a/hyperweb.cpp +++ b/hyperweb.cpp @@ -11,10 +11,13 @@ #define CAP_SDLTTF 0 #define CAP_SHMUP 0 #define CAP_RUG 1 -#define CAP_ORIENTATION 1 #define CAP_INV 0 #define GLES_ONLY +#ifndef CAP_ORIENTATION +#define CAP_ORIENTATION 1 +#endif + #ifdef FAKEWEB void mainloopiter(); template void emscripten_set_main_loop(A a, B b, C c) { while(true) mainloopiter(); }