summaryrefslogtreecommitdiff
path: root/src/main_linux.cpp
diff options
context:
space:
mode:
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();