On 07/28/2013 03:32 PM, Chris Forbes wrote: > + if (att->Zoffset > texImage->Depth) > > Shouldn't this be >=, same as in your later array patch? Yes. Good catch. Off-by-one error for the lose. :( > -- Chris