summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r600/r600_cmdbuf.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-07-15 11:16:41 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-07-15 11:16:41 -0400
commitefe7ad233ca8fa1b7e1aabf706c433955c5c51e8 (patch)
tree8c23392776768ccd3f1da750d9b8445d8ead5188 /src/mesa/drivers/dri/r600/r600_cmdbuf.c
parent10b3e64bcada2e68144cc6ed40f7d760aff873e2 (diff)
Use memcpy directly in the common code
This alleviates the need for an additional symbol.
Diffstat (limited to 'src/mesa/drivers/dri/r600/r600_cmdbuf.c')
-rw-r--r--src/mesa/drivers/dri/r600/r600_cmdbuf.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_cmdbuf.c b/src/mesa/drivers/dri/r600/r600_cmdbuf.c
index b8e1debf8f..7bde3360b6 100644
--- a/src/mesa/drivers/dri/r600/r600_cmdbuf.c
+++ b/src/mesa/drivers/dri/r600/r600_cmdbuf.c
@@ -676,19 +676,3 @@ void r600InitCmdBuf(context_t *r600) /* from rcommonInitCmdBuf */
}
}
-void r600_sw_blit(char *srcp, int src_pitch, char *dstp, int dst_pitch,
- int x, int y, int w, int h, int cpp)
-{
- char *src = srcp;
- char *dst = dstp;
-
- src += (y * src_pitch) + (x * cpp);
- dst += (y * dst_pitch) + (x * cpp);
-
- while (h--) {
- memcpy(dst, src, w * cpp);
- src += src_pitch;
- dst += dst_pitch;
- }
-}
-