From dbd32f11e2a3df38162c70f946b5bfa9a8dedbfa Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Thu, 1 Apr 2021 17:02:44 -0400 Subject: Lots of work in progress on pill intersections, but will have to read more up on it --- frontend/shared_cpp/MainLoop.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontend/shared_cpp/MainLoop.h') 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; -- cgit v1.2.1