diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-12-14 19:41:28 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-12-14 19:41:28 +0000 |
commit | 726fd3a81dfbd1b0c8e4ede104a48523daecab92 (patch) | |
tree | 67eeed9780c6d9510f73f9a62de22c9395f070bd /src/r128_accel.c | |
parent | 328a2d74dabe32ce35e879799412666feedb0eef (diff) |
Bug #1760: Fix ati wrapper multihead to be dlloader friendly.
Diffstat (limited to 'src/r128_accel.c')
-rw-r--r-- | src/r128_accel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/r128_accel.c b/src/r128_accel.c index 2bc4ae47..fe284e1a 100644 --- a/src/r128_accel.c +++ b/src/r128_accel.c @@ -122,7 +122,7 @@ static struct { { R128_ROP3_ONE, R128_ROP3_ONE } /* GXset */ }; -extern int gR128EntityIndex; +extern int getR128EntityIndex(void); /* Flush all dirty data in the Pixel Cache to memory. */ void R128EngineFlush(ScrnInfoPtr pScrn) @@ -1842,7 +1842,7 @@ static void R128MMIOAccelInit(ScrnInfoPtr pScrn, XAAInfoRecPtr a) DevUnion* pPriv; R128EntPtr pR128Ent; pPriv = xf86GetEntityPrivate(pScrn->entityList[0], - gR128EntityIndex); + getR128EntityIndex()); pR128Ent = pPriv->ptr; /*if there are more than one devices sharing this entity, we |