FINAL: v1
This commit is contained in:
@@ -27,7 +27,6 @@ namespace Game::Window {
|
||||
int getTargetFPS() { return mTargetFPS; }
|
||||
|
||||
static SDL_Window* getSDLWindowBackend() { std::scoped_lock lock(sMutex); return sWindowBackend; }
|
||||
|
||||
Renderer::Renderer* getRenderer() { std::scoped_lock lock(mMutex); return &mRenderer; }
|
||||
|
||||
private:
|
||||
@@ -39,6 +38,8 @@ namespace Game::Window {
|
||||
Game::GameManager mGameManager;
|
||||
std::jthread mGameThread;
|
||||
bool mRunning;
|
||||
int mLastWindowWidth = 0;
|
||||
int mLastWindowHeight = 0;
|
||||
int mTargetFPS = TARGET_FPS;
|
||||
int mEffectiveFrameCap = TARGET_FPS;
|
||||
#if DEBUG
|
||||
|
||||
Reference in New Issue
Block a user