summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r128/r128_lock.c
diff options
context:
space:
mode:
authorJon Smirl <[email protected]>2004-03-12 03:50:30 +0000
committerJon Smirl <[email protected]>2004-03-12 03:50:30 +0000
commitba5c49ab427d33915562b2c257db582c84eb7dd0 (patch)
tree9b56fdc34fa42ac45653d6475568fc5ca316224b /src/mesa/drivers/dri/r128/r128_lock.c
parent5fb0763d2ea6eeb12000f40b96ce556c35fe115f (diff)
Make R128 driver use sarea/defines from DRM. removed r128_common.h
and r128_sarea.h since they are redundant now.
Diffstat (limited to 'src/mesa/drivers/dri/r128/r128_lock.c')
-rw-r--r--src/mesa/drivers/dri/r128/r128_lock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r128/r128_lock.c b/src/mesa/drivers/dri/r128/r128_lock.c
index 12eb0128b03..47ad1c8246d 100644
--- a/src/mesa/drivers/dri/r128/r128_lock.c
+++ b/src/mesa/drivers/dri/r128/r128_lock.c
@@ -85,7 +85,7 @@ void r128GetLock( r128ContextPtr rmesa, GLuint flags )
{
__DRIdrawablePrivate *dPriv = rmesa->driDrawable;
__DRIscreenPrivate *sPriv = rmesa->driScreen;
- R128SAREAPrivPtr sarea = rmesa->sarea;
+ drm_r128_sarea_t *sarea = rmesa->sarea;
int i;
drmGetLock( rmesa->driFd, rmesa->hHWContext, flags );
@@ -112,8 +112,8 @@ void r128GetLock( r128ContextPtr rmesa, GLuint flags )
rmesa->numClipRects = dPriv->numClipRects;
rmesa->pClipRects = dPriv->pClipRects;
- if ( sarea->ctxOwner != rmesa->hHWContext ) {
- sarea->ctxOwner = rmesa->hHWContext;
+ if ( sarea->ctx_owner != rmesa->hHWContext ) {
+ sarea->ctx_owner = rmesa->hHWContext;
rmesa->dirty = R128_UPLOAD_ALL;
}