From 849fc4ee770924d57f8cdf06bd5224573989ccde Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 11 Jul 2013 22:11:38 +0300 Subject: [PATCH] Set multisample attributes correctly on glX --- source/graphics/glx/glcontext.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/graphics/glx/glcontext.cpp b/source/graphics/glx/glcontext.cpp index 09a4ef8..a73b9c5 100644 --- a/source/graphics/glx/glcontext.cpp +++ b/source/graphics/glx/glcontext.cpp @@ -48,6 +48,8 @@ void GLContext::platform_init(const GLOptions &opts) if(opts.multisample>0) { attribs.push_back(GLX_SAMPLE_BUFFERS_ARB); + attribs.push_back(1); + attribs.push_back(GLX_SAMPLES_ARB); attribs.push_back(opts.multisample); } -- 2.43.0