[Libreoffice-commits] core.git: vcl/source
Tomaž Vajngerl
tomaz.vajngerl at collabora.co.uk
Thu Jul 28 13:08:59 UTC 2016
vcl/source/opengl/OpenGLHelper.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 262e1aca818539acc07e1fdb3df9a7717242bea1
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
Date: Thu Jul 28 04:17:00 2016 +0900
opengl: improve logging when no context is available
Change-Id: Ie747db5f46b0a83bda44d211b0ac69bc19092fbc
Reviewed-on: https://gerrit.libreoffice.org/27615
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index 2060b35..8642844 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -1040,7 +1040,7 @@ void OpenGLHelper::debugMsgPrint(const int nType, const char *pFormat, ...)
bool bHasContext = OpenGLContext::hasCurrent();
if (!bHasContext)
- strcat(pStr, "- no GL context");
+ strcat(pStr, " (no GL context)");
if (nType == 0)
{
More information about the Libreoffice-commits
mailing list