Commit 9b0f3d5f authored by Ken Martin's avatar Ken Martin
Browse files

fix some warnings

parent 979fe964
......@@ -43,7 +43,7 @@
#ifndef VTK_IMPLEMENT_MESA_CXX
vtkCxxRevisionMacro(vtkOpenGLPolyDataMapper, "1.86");
vtkCxxRevisionMacro(vtkOpenGLPolyDataMapper, "1.87");
vtkStandardNewMacro(vtkOpenGLPolyDataMapper);
#endif
......@@ -744,8 +744,7 @@ void vtkOpenGLPolyDataMapperDrawPolygons(int idx,
glNormal3fv(normals + 3**ptIds);,;,
glTexCoord2fv(tcoords + 2**ptIds);,;,
float *normals = (float *)voidNormals;,
float *tcoords = (float *)voidTCoords;,
);
float *tcoords = (float *)voidTCoords;);
break;
default:
{
......@@ -907,8 +906,7 @@ void vtkOpenGLPolyDataMapperDrawTStrips(int idx,
glNormal3fv(normals + 3**ptIds);,;,
glTexCoord2fv(tcoords + 2**ptIds);,;,
float *normals = (float *)voidNormals;,
float *tcoords = (float *)voidTCoords;,
);
float *tcoords = (float *)voidTCoords;);
break;
default:
{
......@@ -1062,8 +1060,7 @@ void vtkOpenGLPolyDataMapperDrawTStripLines(int idx,
glNormal3fv(normals + 3**ptIds);,;,
glTexCoord2fv(tcoords + 2**ptIds);,;,
float *normals = (float *)voidNormals;,
float *tcoords = (float *)voidTCoords;,
);
float *tcoords = (float *)voidTCoords;);
break;
default:
{
......
Supports Markdown
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