vcl/opengl/win/gdiimpl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 1415b726714b3d4f606020eedf8e875c8325ce72 Author: Stephan Bergmann <[email protected]> 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(); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
