Commit 5116308e authored by Ken Martin's avatar Ken Martin
Browse files

Fix a bad array reference

Change-Id: Ia97b4fc9a57deac1e74bcc646244d2dbc97e49a8
parent 6e98b4f6
......@@ -694,7 +694,7 @@ bool vtkSynchronizedRenderers::vtkRawImage::PushToFrameBuffer()
// always draw the entire image on the entire viewport
renWin->DrawPixels(viewport[0]*window_size[0], viewport[1]*window_size[1],
viewport[2]*window_size[0]-1, viewport[2]*window_size[0]-1,
viewport[2]*window_size[0]-1, viewport[3]*window_size[1]-1,
this->Data->GetNumberOfComponents(), VTK_UNSIGNED_CHAR,
this->GetRawPtr()->GetVoidPointer(0));
#else
......
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