X-Git-Url: https://www.kengrimes.com/gitweb/?p=henge%2Fwebcc.git;a=blobdiff_plain;f=src%2Fcore%2Fengine.h;h=42cadba136cf26f8184b57cb57a0b2d605346596;hp=9af038f5ed3fa2a66b9c87ed3b477b086160e4e1;hb=47ef7f075603faf78809252b03b7d4e99b14e00f;hpb=b339ecf22e987a0d6ac3ddae3511edef47c7869a diff --git a/src/core/engine.h b/src/core/engine.h index 9af038f..42cadba 100644 --- a/src/core/engine.h +++ b/src/core/engine.h @@ -3,14 +3,14 @@ \details Contains various global compile-time defines such as rendering FPS which loads initial game data, before finally invoking the main loop gameloop(void) - \author K + \author Mihrtec \date 2016 ------------------------------------------------------------------------------*/ #ifndef _ENGINE_H_ #define _ENGINE_H_ -#ifndef __EMSCRIPTEN__ -#define LOOP_YIELD_OPTIONAL +#ifdef __EMSCRIPTEN__ +#define NON_BLOCKING_LOOPS #endif /* debug level */ @@ -33,4 +33,3 @@ #define TARGET_DT (1000 / TARGET_FPS) #endif //_ENGINE_H_ -