summaryrefslogtreecommitdiff
path: root/vcl/opengl/win
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-16 15:21:04 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-16 15:21:04 +0100
commit704fbec2bfac21d44a988d593cdb8de172bc8f10 (patch)
tree258f058e48b43cc1ff9ac9f3c31ff3c209351b0a /vcl/opengl/win
parentf54d5cd7a1cd8d0e8d87c1d54931ead4498ac7ce (diff)
loplugin:nullptr (clang-cl)
Change-Id: I557e752ca05146e2a571d027fc3d1875afd6ef26
Diffstat (limited to 'vcl/opengl/win')
-rw-r--r--vcl/opengl/win/gdiimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx
index 0d0159d25500..89e595cdc656 100644
--- a/vcl/opengl/win/gdiimpl.cxx
+++ b/vcl/opengl/win/gdiimpl.cxx
@@ -566,7 +566,7 @@ bool WinOpenGLContext::ImplInit()
if (!InitGL())
{
- wglMakeCurrent(NULL, NULL);
+ wglMakeCurrent(nullptr, nullptr);
g_bAnyCurrent = false;
wglDeleteContext(hTempRC);
return false;