aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r128/r128_texmem.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2004-03-17 20:50:12 +0000
committerIan Romanick <[email protected]>2004-03-17 20:50:12 +0000
commit16c704e8f7cd9b7d7c5d6667cb38e016e3b608d1 (patch)
treed3b07d3be78f379d76d36b17b06d3b74a8aa1079 /src/mesa/drivers/dri/r128/r128_texmem.c
parentaae2fde0e6758769c11611d0951b2cb0e4ee24eb (diff)
Convert all uses of CARD32 and CARD8 to int32_t and int8_t.
Diffstat (limited to 'src/mesa/drivers/dri/r128/r128_texmem.c')
-rw-r--r--src/mesa/drivers/dri/r128/r128_texmem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r128/r128_texmem.c b/src/mesa/drivers/dri/r128/r128_texmem.c
index 595d8d75133..5c030e892fc 100644
--- a/src/mesa/drivers/dri/r128/r128_texmem.c
+++ b/src/mesa/drivers/dri/r128/r128_texmem.c
@@ -86,7 +86,7 @@ static void uploadSubImage( r128ContextPtr rmesa, r128TexObjPtr t,
int imageWidth, imageHeight;
int remaining, rows;
int format, dwords;
- CARD32 pitch, offset;
+ int32_t pitch, offset;
int i;
/* Ensure we have a valid texture to upload */
@@ -202,7 +202,7 @@ static void uploadSubImage( r128ContextPtr rmesa, r128TexObjPtr t,
remaining > 0 ;
remaining -= rows, y += rows, i++ )
{
- CARD32 *dst;
+ int32_t *dst;
drmBufPtr buffer;
assert(image->Data);
@@ -213,7 +213,7 @@ static void uploadSubImage( r128ContextPtr rmesa, r128TexObjPtr t,
LOCK_HARDWARE( rmesa );
buffer = r128GetBufferLocked( rmesa );
- dst = (CARD32 *)((char *)buffer->address + R128_HOSTDATA_BLIT_OFFSET);
+ dst = (int32_t *)((char *)buffer->address + R128_HOSTDATA_BLIT_OFFSET);
/* Copy the next chunck of the texture image into the blit buffer */
{