diff options
author | Roland Scheidegger <rscheidegger@gmx.ch> | 2005-10-11 17:55:54 +0000 |
---|---|---|
committer | Roland Scheidegger <rscheidegger@gmx.ch> | 2005-10-11 17:55:54 +0000 |
commit | d084c3d4dcabf58cef921b50ab60d1287563cd43 (patch) | |
tree | d26630814e92d53ee567a6e14b102a2eeac08263 /src/mesa/drivers/dri/radeon/radeon_maos_verts.c | |
parent | 44b1bd7597bea6d48d26551c2678de65ed5c3648 (diff) |
Minor driver cleanup. Remove unnecessery/unneded radeon/r200AllocDmaRegionVerts function. No longer compile the radeon_compat stuff which was for drm 1.1 compatibility presumably but unused since about forever into the driver.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_maos_verts.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_maos_verts.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_maos_verts.c b/src/mesa/drivers/dri/radeon/radeon_maos_verts.c index ac82a33732..3d004adda6 100644 --- a/src/mesa/drivers/dri/radeon/radeon_maos_verts.c +++ b/src/mesa/drivers/dri/radeon/radeon_maos_verts.c @@ -315,11 +315,10 @@ void radeonEmitArrays( GLcontext *ctx, GLuint inputs ) if (rmesa->tcl.indexed_verts.buf) radeonReleaseArrays( ctx, ~0 ); - radeonAllocDmaRegionVerts( rmesa, - &rmesa->tcl.indexed_verts, - VB->Count, - setup_tab[i].vertex_size * 4, - 4); + radeonAllocDmaRegion( rmesa, + &rmesa->tcl.indexed_verts, + VB->Count * setup_tab[i].vertex_size * 4, + 4); /* The vertex code expects Obj to be clean to element 3. To fix * this, add more vertex code (for obj-2, obj-3) or preferably move |