core update
[henge/webcc.git] / src / core / engine.h
index 9af038f..42cadba 100644 (file)
@@ -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_
-