From 4ad05823f6c2edb0f5fbf5794b2deb6c163686a2 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Mon, 16 Nov 2015 14:16:32 +0000 Subject: Add comment to 'direct' parameter: un-related to double-buffering. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I07002fd73fc004439aea75c5aca8ca3700ec1079 Reviewed-on: https://gerrit.libreoffice.org/19996 Reviewed-by: Björn Michaelsen Tested-by: Björn Michaelsen --- vcl/source/opengl/OpenGLContext.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index 8088b656cd43..6929bbc5b825 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -742,7 +742,7 @@ bool OpenGLContext::ImplInit() GLX_CONTEXT_MINOR_VERSION_ARB, 2, None }; - m_aGLWin.ctx = glXCreateContextAttribsARB(m_aGLWin.dpy, pFBC[best_fbc], pSharedCtx, GL_TRUE, pContextAttribs); + m_aGLWin.ctx = glXCreateContextAttribsARB(m_aGLWin.dpy, pFBC[best_fbc], pSharedCtx, /* direct, not via X */ GL_TRUE, pContextAttribs); SAL_INFO_IF(m_aGLWin.ctx, "vcl.opengl", "created a 3.2 core context"); } else @@ -759,7 +759,7 @@ bool OpenGLContext::ImplInit() m_aGLWin.ctx = glXCreateContext(m_aGLWin.dpy, m_aGLWin.vi, pSharedCtx, - GL_TRUE); + GL_TRUE /* direct, not via X server */); } if( m_aGLWin.ctx ) -- cgit