Line 0
Link Here
|
|
|
1 |
--- VTK/Rendering/OpenGL2/vtkOpenGLPolyDataMapper2D.cxx.orig 2018-05-27 16:27:25.256918000 +0700 |
2 |
+++ VTK/Rendering/OpenGL2/vtkOpenGLPolyDataMapper2D.cxx 2018-05-27 16:29:21.344983000 +0700 |
3 |
@@ -860,7 +860,7 @@ |
4 |
static_cast<GLuint>(this->VBO->VertexCount - 1), |
5 |
static_cast<GLsizei>(this->Points.IBO->IndexCount), |
6 |
GL_UNSIGNED_INT, |
7 |
- reinterpret_cast<const GLvoid *>(NULL)); |
8 |
+ nullptr); |
9 |
this->Points.IBO->Release(); |
10 |
this->PrimitiveIDOffset += (int)this->Points.IBO->IndexCount; |
11 |
} |
12 |
@@ -881,7 +881,7 @@ |
13 |
static_cast<GLuint>(this->VBO->VertexCount - 1), |
14 |
static_cast<GLsizei>(this->Lines.IBO->IndexCount), |
15 |
GL_UNSIGNED_INT, |
16 |
- reinterpret_cast<const GLvoid *>(NULL)); |
17 |
+ nullptr); |
18 |
this->Lines.IBO->Release(); |
19 |
} |
20 |
this->PrimitiveIDOffset += (int)this->Lines.IBO->IndexCount/2; |
21 |
@@ -899,7 +899,7 @@ |
22 |
static_cast<GLuint>(this->VBO->VertexCount - 1), |
23 |
static_cast<GLsizei>(this->Tris.IBO->IndexCount), |
24 |
GL_UNSIGNED_INT, |
25 |
- reinterpret_cast<const GLvoid *>(NULL)); |
26 |
+ nullptr); |
27 |
this->Tris.IBO->Release(); |
28 |
this->PrimitiveIDOffset += (int)this->Tris.IBO->IndexCount/3; |
29 |
} |
30 |
@@ -916,7 +916,7 @@ |
31 |
static_cast<GLuint>(this->VBO->VertexCount - 1), |
32 |
static_cast<GLsizei>(this->TriStrips.IBO->IndexCount), |
33 |
GL_UNSIGNED_INT, |
34 |
- reinterpret_cast<const GLvoid *>(NULL)); |
35 |
+ nullptr); |
36 |
this->TriStrips.IBO->Release(); |
37 |
} |
38 |
} |