diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2016-07-28 04:17:00 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2016-07-28 13:08:23 +0000 |
commit | 262e1aca818539acc07e1fdb3df9a7717242bea1 (patch) | |
tree | 4574cb18ae7919307d19110072450cc93e7adc6e /vcl/source/opengl | |
parent | 39b50f0cad5fe4576b4d112284938645a303e363 (diff) |
opengl: improve logging when no context is available
Change-Id: Ie747db5f46b0a83bda44d211b0ac69bc19092fbc
Reviewed-on: https://gerrit.libreoffice.org/27615
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/source/opengl')
-rw-r--r-- | vcl/source/opengl/OpenGLHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx index 2060b35cf6d5..86428447b995 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) { |