diff options
| author | Matthew Kosarek <mattkae@protonmail.com> | 2021-04-01 17:02:44 -0400 |
|---|---|---|
| committer | Matthew Kosarek <mattkae@protonmail.com> | 2021-04-01 17:02:44 -0400 |
| commit | dbd32f11e2a3df38162c70f946b5bfa9a8dedbfa (patch) | |
| tree | df3c1baf5818a641f7c15acbc59d90abcf0360c5 /frontend/shared_cpp/MainLoop.h | |
| parent | b17c518155fae64083eb5b56b78b9eec57603ac0 (diff) | |
Lots of work in progress on pill intersections, but will have to read more up on it
Diffstat (limited to 'frontend/shared_cpp/MainLoop.h')
| -rw-r--r-- | frontend/shared_cpp/MainLoop.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/shared_cpp/MainLoop.h b/frontend/shared_cpp/MainLoop.h index 7300f6b..2573bb8 100644 --- a/frontend/shared_cpp/MainLoop.h +++ b/frontend/shared_cpp/MainLoop.h @@ -11,9 +11,9 @@ struct MainLoop { bool isRunning = false; double lastTime = 0, elapsedTime = 0; int numFrames = 0; - EM_BOOL (*updateFunc)(float dtSeconds, void *userData); + void (*updateFunc)(float dtSeconds, void *userData); - void run(EM_BOOL (*cb)(float dtSeconds, void *userData)) { + void run(void (*cb)(float dtSeconds, void *userData)) { isRunning = true; lastTime = 0; elapsedTime = 0; |
