mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 23:11:18 +12:00
GeneralSettings: Update vsync after settings close (#401)
This commit is contained in:
parent
f41f7b63e8
commit
c3182aedd9
6 changed files with 34 additions and 29 deletions
|
@ -30,7 +30,7 @@ public:
|
|||
void Flush(bool waitIdle = false) override;
|
||||
void NotifyLatteCommandProcessorIdle() override;
|
||||
|
||||
void EnableVSync(int state) override;
|
||||
void UpdateVSyncState();
|
||||
|
||||
void EnableDebugMode() override;
|
||||
void SwapBuffers(bool swapTV = true, bool swapDRC = true) override;
|
||||
|
@ -168,6 +168,7 @@ private:
|
|||
GLuint m_defaultFramebufferId;
|
||||
GLuint m_pipeline = 0;
|
||||
|
||||
int m_activeVSyncState{};
|
||||
bool m_isPadViewContext{};
|
||||
|
||||
// rendertarget viewport
|
||||
|
@ -282,4 +283,4 @@ private:
|
|||
std::vector<bufferCacheReleaseQueueEntry_t> bufferCacheEntries;
|
||||
}m_destructionQueues;
|
||||
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue