if (overlapping) {
/* get from buffered image */
ASSERT(width < MAX_WIDTH);
- MEMCPY(span.array->rgba, p, width * sizeof(GLchan) * 4);
+ _mesa_memcpy(span.array->rgba, p, width * sizeof(GLchan) * 4);
p += width * 4;
}
else {
for (j = 0; j < height; j++, sy += stepy, dy += stepy) {
/* Get color indexes */
if (overlapping) {
- MEMCPY(span.array->index, p, width * sizeof(GLuint));
+ _mesa_memcpy(span.array->index, p, width * sizeof(GLuint));
p += width;
}
else {
GLfloat depth[MAX_WIDTH];
/* get depth values */
if (overlapping) {
- MEMCPY(depth, p, width * sizeof(GLfloat));
+ _mesa_memcpy(depth, p, width * sizeof(GLfloat));
p += width;
}
else {
/* Get stencil values */
if (overlapping) {
- MEMCPY(stencil, p, width * sizeof(GLstencil));
+ _mesa_memcpy(stencil, p, width * sizeof(GLstencil));
p += width;
}
else {
/**
- * This isn't terribly efficient. If a drivef really has combined
+ * This isn't terribly efficient. If a driver really has combined
* depth/stencil buffers the driver should implement an optimized
* CopyPixels function.
*/