MCPcopy Create free account
hub / github.com/diasurgical/devilution / EnableFrameCount

Function EnableFrameCount

Source/scrollrt.cpp:1116–1120  ·  view source on GitHub ↗

* @brief Initialize the FPS meter */

Source from the content-addressed store, hash-verified

1114 * @brief Initialize the FPS meter
1115 */
1116void EnableFrameCount()
1117{
1118 frameflag = frameflag == 0;
1119 framestart = SDL_GetTicks();
1120}
1121
1122/**
1123 * @brief Display the current average FPS over 1 sec

Callers 1

diablo_parse_flagsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected