From 886a510fcd43d83b3bbb63ac037bb9ae408cc3fa Mon Sep 17 00:00:00 2001 From: Martin Felis Date: Fri, 12 Nov 2021 11:23:20 +0100 Subject: [PATCH] Enabled MSAA. --- src/main.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cc b/src/main.cc index b2f9d28..91c4b6e 100644 --- a/src/main.cc +++ b/src/main.cc @@ -150,6 +150,7 @@ int main() { glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GLFW_TRUE); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); glfwWindowHint(GLFW_COCOA_RETINA_FRAMEBUFFER, GLFW_FALSE); + glfwWindowHint(GLFW_SAMPLES, 16); GLFWwindow* w = glfwCreateWindow(Width, Height, "AnimTestbed", 0, 0); glfwMakeContextCurrent(w); glfwSwapInterval(1);