X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fglx%2Fglcontext.cpp;h=a73b9c554760af4f1c5d368b69605533c48be16f;hb=12df88ecf9787f4ed59051646775165b74301cf0;hp=09a4ef8b6ee0216ab8bdc1573cee9111da19a4d4;hpb=1aca77b93853ee127ac3bbf6886f7f04920542ef;p=libs%2Fgui.git 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); }