diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-19 14:15:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-19 14:15:35 +0100 |
commit | 5bf3daf9cb18610e2869997c64dc1ec31d863a51 (patch) | |
tree | 8cebe20b825e5e3552f492cb5519d9c492cfdf45 /vcl | |
parent | 2b66862f22c06ed048aea80739b09cfd16d5c063 (diff) |
loplugin:nullptr
Change-Id: Ie461bc10ee2f7d2329a23c86bdc922839bea7974
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/opengl/OpenGLContext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index 1f5af6f00a82..0dc05fc2025f 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -1734,10 +1734,10 @@ OpenGLProgram* OpenGLContext::UseProgram( const OUString& rVertexShader, const O void OpenGLContext::UseNoProgram() { - if( mpCurrentProgram == NULL ) + if( mpCurrentProgram == nullptr ) return; - mpCurrentProgram = NULL; + mpCurrentProgram = nullptr; glUseProgram( 0 ); CHECK_GL_ERROR(); } |