diff options
author | Brian Paul <[email protected]> | 2011-12-03 10:04:18 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-12-08 08:56:29 -0700 |
commit | 5acb291f319a0b32d9701b3e6c8624175f1a80e7 (patch) | |
tree | 7a521f4e19d12f9741c72d15c44afcd6c62f82da /src/mesa/main/texstore.c | |
parent | d9582026631ae3cd667f6cd13040b93e42db3e44 (diff) |
mesa: remove TextureMemCpy driver hook
There's probably no reason to use a special version of memcpy() anymore.
Diffstat (limited to 'src/mesa/main/texstore.c')
-rw-r--r-- | src/mesa/main/texstore.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index 37fea2156e6..14d24844975 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -954,8 +954,7 @@ memcpy_texture(struct gl_context *ctx, GLubyte *dstImage = dstSlices[dstZoffset + img] + dstYoffset * dstRowStride + dstXoffset * texelBytes; - ctx->Driver.TextureMemCpy(dstImage, srcImage, - bytesPerRow * srcHeight); + memcpy(dstImage, srcImage, bytesPerRow * srcHeight); srcImage += srcImageStride; } } @@ -968,7 +967,7 @@ memcpy_texture(struct gl_context *ctx, + dstYoffset * dstRowStride + dstXoffset * texelBytes; for (row = 0; row < srcHeight; row++) { - ctx->Driver.TextureMemCpy(dstRow, srcRow, bytesPerRow); + memcpy(dstRow, srcRow, bytesPerRow); dstRow += dstRowStride; srcRow += srcRowStride; } |