summaryrefslogtreecommitdiff
path: root/src/tdfx_tex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tdfx_tex.c')
-rw-r--r--src/tdfx_tex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tdfx_tex.c b/src/tdfx_tex.c
index e31ae97..1c51452 100644
--- a/src/tdfx_tex.c
+++ b/src/tdfx_tex.c
@@ -1660,7 +1660,7 @@ tdfxCompressedTexImage2D (GLcontext *ctx, GLenum target,
texImage->Data);
ti->padded = GL_TRUE;
} else {
- MEMCPY(texImage->Data, data, compressedSize);
+ memcpy(texImage->Data, data, compressedSize);
}
RevalidateTexture(ctx, texObj);
@@ -1707,7 +1707,7 @@ tdfxCompressedTexSubImage2D( GLcontext *ctx, GLenum target,
rows = height / 4; /* [dBorca] hardcoded 4, but works for FXT1/DXTC */
for (i = 0; i < rows; i++) {
- MEMCPY(dest, data, srcRowStride);
+ memcpy(dest, data, srcRowStride);
dest += destRowStride;
data = (GLvoid *)((intptr_t)data + (intptr_t)srcRowStride);
}