summaryrefslogtreecommitdiff
path: root/src/radeon_exa.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-15 18:43:01 +0100
committerDave Airlie <airlied@redhat.com>2012-06-15 18:43:01 +0100
commit997b0dddfeb180043ece5eff0ac0d6a1a751f9b5 (patch)
tree81b7ea226c1f1cc9767aa9003f5ba1245ce7f81f /src/radeon_exa.c
parent639061edb3ac35a24e4d6633c9b6384434dcac64 (diff)
radeon: drop radeonGetPixmapOffset
no longer needed. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/radeon_exa.c')
-rw-r--r--src/radeon_exa.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c
index be125335..99dc453b 100644
--- a/src/radeon_exa.c
+++ b/src/radeon_exa.c
@@ -150,17 +150,16 @@ static Bool RADEONGetOffsetPitch(PixmapPtr pPix, int bpp, uint32_t *pitch_offset
Bool RADEONGetPixmapOffsetPitch(PixmapPtr pPix, uint32_t *pitch_offset)
{
- uint32_t pitch, offset;
+ uint32_t pitch;
int bpp;
bpp = pPix->drawable.bitsPerPixel;
if (bpp == 24)
bpp = 8;
- offset = radeonGetPixmapOffset(pPix);
pitch = exaGetPixmapPitch(pPix);
- return RADEONGetOffsetPitch(pPix, bpp, pitch_offset, offset, pitch);
+ return RADEONGetOffsetPitch(pPix, bpp, pitch_offset, 0, pitch);
}
/**