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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main_linux.cpp b/src/main_linux.cpp
index b317ab1..95177ef 100644
--- a/src/main_linux.cpp
+++ b/src/main_linux.cpp
@@ -74,7 +74,8 @@ static void _create_window(bool is_setup_window)
if (window == nullptr)
return;
glfwMakeContextCurrent(window);
- glfwSwapInterval(1); // Enable vsync
+ glfwSwapInterval(1);
+ glfwWindowHint(GLFW_SAMPLES, 4);
IMGUI_CHECKVERSION();
ImGui::CreateContext();