summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx4
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();
}