Commit f4eece1b authored by Ben Boeckel's avatar Ben Boeckel

unused: use the vtkNotUsed macro

vtkUnused doesn't exist.

Change-Id: I416f09fe2ad000cef8926330dd925108d7c01315
parent 2cd26332
......@@ -139,7 +139,7 @@ inline int vtkPadToFour(int n)
template <class T>
void vtkOpenGLImageMapperRenderDouble(vtkOpenGLImageMapper *self, vtkImageData *data,
T *dataPtr, double shift, double scale,
int *vtkUnused(actorPos), int *vtkUnused(actorPos2), int vtkUnused(front), int *vtkUnused(vsize),
int *vtkNotUsed(actorPos), int *vtkNotUsed(actorPos2), int vtkNotUsed(front), int *vtkNotUsed(vsize),
vtkViewport *viewport)
{
vtkOpenGLClearErrorMacro();
......@@ -253,8 +253,8 @@ void vtkOpenGLImageMapperRenderDouble(vtkOpenGLImageMapper *self, vtkImageData *
template <class T>
void vtkOpenGLImageMapperRenderShort(vtkOpenGLImageMapper *self, vtkImageData *data,
T *dataPtr, double shift, double scale,
int *vtkUnused(actorPos), int *vtkUnused(actorPos2), int vtkUnused(front),
int *vtkUnused(vsize), vtkViewport *viewport)
int *vtkNotUsed(actorPos), int *vtkNotUsed(actorPos2), int vtkNotUsed(front),
int *vtkNotUsed(vsize), vtkViewport *viewport)
{
vtkOpenGLClearErrorMacro();
......@@ -384,8 +384,8 @@ void vtkOpenGLImageMapperRenderShort(vtkOpenGLImageMapper *self, vtkImageData *d
template <class T>
void vtkOpenGLImageMapperRenderChar(vtkOpenGLImageMapper *self, vtkImageData *data,
T *dataPtr, int *vtkUnused(actorPos), int *vtkUnused(actorPos2),
int vtkUnused(front), int *vtkUnused(vsize), vtkViewport *viewport)
T *dataPtr, int *vtkNotUsed(actorPos), int *vtkNotUsed(actorPos2),
int vtkNotUsed(front), int *vtkNotUsed(vsize), vtkViewport *viewport)
{
vtkOpenGLClearErrorMacro();
......
......@@ -1757,8 +1757,8 @@ void vtkTextureObject::CopyToFrameBuffer(int srcXmin,
// \pre is2D: GetNumberOfDimensions()==2
void vtkTextureObject::CopyFromFrameBuffer(int srcXmin,
int srcYmin,
int vtkUnused(dstXmin),
int vtkUnused(dstYmin),
int vtkNotUsed(dstXmin),
int vtkNotUsed(dstYmin),
int width,
int height)
{
......
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