[Libreoffice-commits] core.git: vcl/opengl
Stephan Bergmann
sbergman at redhat.com
Thu Sep 14 06:42:30 UTC 2017
vcl/opengl/win/gdiimpl.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 1415b726714b3d4f606020eedf8e875c8325ce72
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Sep 14 08:42:02 2017 +0200
loplugin:externvar (clang-cl)
Change-Id: I83245eb7d616d87b74326f49911b1fa5fc58431e
diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx
index c91577130071..d81c37283983 100644
--- a/vcl/opengl/win/gdiimpl.cxx
+++ b/vcl/opengl/win/gdiimpl.cxx
@@ -76,10 +76,9 @@ void WinOpenGLContext::resetCurrent()
g_bAnyCurrent = false;
}
-thread_local bool bEpoxyDispatchMakeCurrentCalled = false;
-
void ensureDispatchTable()
{
+ thread_local bool bEpoxyDispatchMakeCurrentCalled = false;
if (!bEpoxyDispatchMakeCurrentCalled)
{
epoxy_handle_external_wglMakeCurrent();
More information about the Libreoffice-commits
mailing list