MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / updateVideoFormatTimer

Function updateVideoFormatTimer

src/bzflag/guiplaying.cpp:5635–5644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5633
5634
5635void updateVideoFormatTimer(const float dt) {
5636 // update test video format timer
5637 if (testVideoFormatTimer > 0.0f) {
5638 testVideoFormatTimer -= dt;
5639 if (testVideoFormatTimer <= 0.0f) {
5640 testVideoFormatTimer = 0.0f;
5641 setVideoFormat(testVideoPrevFormat);
5642 }
5643 }
5644}
5645
5646
5647

Callers 1

updateTimesFunction · 0.85

Calls 1

setVideoFormatFunction · 0.70

Tested by

no test coverage detected