From: Mikko Rasa Date: Thu, 11 Jul 2013 19:11:38 +0000 (+0300) Subject: Set multisample attributes correctly on glX X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=849fc4ee770924d57f8cdf06bd5224573989ccde;p=libs%2Fgui.git Set multisample attributes correctly on glX --- 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); }