MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / SetFPS

Method SetFPS

LuaSTGPlus/AppFrame.cpp:395–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395void AppFrame::SetFPS(fuInt v)LNOEXCEPT
396{
397 if (m_iStatus == AppStatus::Initializing)
398 m_OptionFPSLimit = v;
399 else if (m_iStatus == AppStatus::Running)
400 LWARNING("试图在运行时更改FPS限制");
401}
402
403void AppFrame::SetVsync(bool v)LNOEXCEPT
404{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected