From 370199fa0f92f29cb75ad50705c71cd871abb2d9 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Thu, 31 Dec 2015 22:12:59 +0000 Subject: vcl: improve OpenGL debugging variously. Change-Id: I097f1c1fb7fb505b6859289997bff3562fc06ba6 Reviewed-on: https://gerrit.libreoffice.org/21027 Reviewed-by: Michael Meeks Tested-by: Michael Meeks --- vcl/source/opengl/OpenGLHelper.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vcl/source/opengl/OpenGLHelper.cxx') diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx index bfd811001926..32f299434e39 100644 --- a/vcl/source/opengl/OpenGLHelper.cxx +++ b/vcl/source/opengl/OpenGLHelper.cxx @@ -1012,7 +1012,8 @@ bool OpenGLWrapper::isVCLOpenGLEnabled() void OpenGLHelper::debugMsgStream(std::ostringstream const &pStream) { - debugMsgPrint("%s", pStream.str().c_str()); + debugMsgPrint ("%x: %s", osl_getThreadIdentifier(nullptr), + pStream.str().c_str()); } void OpenGLHelper::debugMsgPrint(const char *pFormat, ...) -- cgit v1.2.3