mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-29 00:10:02 -05:00
impr: Only re-render frame once during window resize or move operations
This commit is contained in:
@@ -135,6 +135,11 @@ namespace hex {
|
||||
}
|
||||
});
|
||||
|
||||
glfwSetWindowRefreshCallback(m_window, [](GLFWwindow *window) {
|
||||
auto win = static_cast<Window *>(glfwGetWindowUserPointer(window));
|
||||
win->fullFrame();
|
||||
});
|
||||
|
||||
if (themeFollowSystem)
|
||||
EventOSThemeChanged::post();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user