Commit f3e770e4 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

BUG: Was setting the string pointer to zero instead of the first character

to zero.
parent ed419af3
......@@ -50,7 +50,7 @@ extern "C" vtkglX::__GLXextFuncPtr glXGetProcAddressARB(const GLubyte *);
// GLU is currently not linked in VTK. We do not support it here.
#define GLU_SUPPORTED 0
vtkCxxRevisionMacro(vtkOpenGLExtensionManager, "1.7");
vtkCxxRevisionMacro(vtkOpenGLExtensionManager, "1.8");
vtkStandardNewMacro(vtkOpenGLExtensionManager);
vtkOpenGLExtensionManager::vtkOpenGLExtensionManager()
......@@ -271,7 +271,7 @@ void vtkOpenGLExtensionManager::ReadOpenGLExtensions()
#ifdef VTK_NO_EXTENSION_LOADING
this->ExtensionsString = new char[1];
this->ExtensionsString = '\0';
this->ExtensionsString[0] = '\0';
return;
#else //!VTK_NO_EXTENSION_LOADING
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment