diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-09-14 08:42:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-14 08:42:02 +0200 |
commit | 1415b726714b3d4f606020eedf8e875c8325ce72 (patch) | |
tree | 90070e5384b5bacc448d29209f534ac75a102088 /vcl | |
parent | c3711e3ea676e0ee0bb1a6bc43a57e735ee586fe (diff) |
loplugin:externvar (clang-cl)
Change-Id: I83245eb7d616d87b74326f49911b1fa5fc58431e
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/opengl/win/gdiimpl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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(); |