[Bug 1078] Added missing bufferSlicePitch arguments.