code: fix profiler collate not being called
parent
5f908771df
commit
c20793d896
|
@ -100,10 +100,14 @@ int main(int argc, char** argv) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(EMSCRIPTEN)
|
#if defined(PLATFORM_WEB)
|
||||||
void UpdateDrawFrame(void) {
|
void UpdateDrawFrame(void) {
|
||||||
|
profile (PROF_MAIN_LOOP) {
|
||||||
game_input();
|
game_input();
|
||||||
game_update();
|
game_update();
|
||||||
game_render();
|
game_render();
|
||||||
|
}
|
||||||
|
|
||||||
|
profiler_collate();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue