Removed some agame things; Added VSYNC
This commit is contained in:
@@ -40,7 +40,11 @@ namespace Game::Window {
|
||||
std::jthread mGameThread;
|
||||
bool mRunning;
|
||||
int mTargetFPS = TARGET_FPS;
|
||||
size_t mFrameCount = 0;
|
||||
std::chrono::steady_clock::time_point mLastFPSTime;
|
||||
int mEffectiveFrameCap = TARGET_FPS;
|
||||
#if DEBUG
|
||||
size_t mTelemetryFrameCount = 0;
|
||||
double mTelemetryFrameTimeMsTotal = 0.0;
|
||||
#endif
|
||||
std::chrono::steady_clock::time_point mTelemetryStart = std::chrono::steady_clock::now();
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user