impr: Refactor previous commits to work with other environments too

This commit is contained in:
WerWolv
2024-12-28 21:37:45 +01:00
parent 534a2f1d28
commit 1298f2b688
7 changed files with 30 additions and 24 deletions

View File

@@ -96,9 +96,6 @@ namespace hex {
auto win = static_cast<Window *>(glfwGetWindowUserPointer(window));
win->fullFrame();
});
// Done to get super crisp font rendering together with GLFW_COCOA_RETINA_FRAMEBUFFER
ImGui::GetIO().FontGlobalScale = 1.0F / getBackingScaleFactor();
}
void Window::beginNativeWindowFrame() {