From 16c704e8f7cd9b7d7c5d6667cb38e016e3b608d1 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 17 Mar 2004 20:50:12 +0000 Subject: Convert all uses of CARD32 and CARD8 to int32_t and int8_t. --- src/mesa/drivers/dri/r128/r128_texmem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/drivers/dri/r128/r128_texmem.c') 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 */ { -- cgit v1.2.3