impr: Implement rendering power saving using hashes

This commit is contained in:
WerWolv
2023-12-27 13:54:00 +01:00
parent 1cf692cecf
commit e414c1cf1e
2 changed files with 56 additions and 82 deletions

View File

@@ -38,8 +38,6 @@ namespace hex {
void frame();
void frameEnd();
void processEvent() { m_hadEvent = true; }
void initGLFW();
void initImGui();
void exitGLFW();
@@ -60,11 +58,7 @@ namespace hex {
std::list<std::string> m_popupsToOpen;
std::vector<int> m_pressedKeys;
bool m_buttonDown = false;
bool m_hadEvent = false;
bool m_frameRateTemporarilyUnlocked = false;
double m_frameRateUnlockTime = 0;
bool m_unlockFrameRate = false;
ImGuiExt::ImHexCustomData m_imguiCustomData;
};