summaryrefslogtreecommitdiff
path: root/src/main_linux.cpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@mailbox.org>2026-01-11 20:09:37 +0100
committerAldrik Ramaekers <aldrik@mailbox.org>2026-01-11 20:09:37 +0100
commit74748ae725ca3cdcc450473ea0ccd245ab36533d (patch)
tree4cf69b3d2cb99219651c38683d1c1c6cddbcc7a4 /src/main_linux.cpp
parentc011cfe0cb4b2b29c2e1d48b5bfd6db1d7fdc6d8 (diff)
ai import ui improvements
Diffstat (limited to 'src/main_linux.cpp')
-rw-r--r--src/main_linux.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main_linux.cpp b/src/main_linux.cpp
index 95177ef..092fd80 100644
--- a/src/main_linux.cpp
+++ b/src/main_linux.cpp
@@ -69,13 +69,13 @@ static void _create_window(bool is_setup_window)
else {
glfwWindowHint(GLFW_RESIZABLE, true);
}
-
+
+ glfwWindowHint(GLFW_SAMPLES, 4);
window = glfwCreateWindow(windowWidth, windowHeight, "OpenBooks", nullptr, nullptr);
if (window == nullptr)
return;
glfwMakeContextCurrent(window);
glfwSwapInterval(1);
- glfwWindowHint(GLFW_SAMPLES, 4);
IMGUI_CHECKVERSION();
ImGui::CreateContext();