diff options
Diffstat (limited to 'src/radeon_vbo.h')
-rw-r--r-- | src/radeon_vbo.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/radeon_vbo.h b/src/radeon_vbo.h index 583f2626..312e03b3 100644 --- a/src/radeon_vbo.h +++ b/src/radeon_vbo.h @@ -24,9 +24,6 @@ radeon_vbo_space(ScrnInfoPtr pScrn, struct radeon_vbo_object *vbo, int vert_size) { -#if defined(XF86DRM_MODE) - RADEONInfoPtr info = RADEONPTR(pScrn); -#endif void *vb; /* we've ran out of space in the vertex buffer - need to get a @@ -34,12 +31,7 @@ radeon_vbo_space(ScrnInfoPtr pScrn, radeon_vbo_check(pScrn, vbo, vert_size); vbo->vb_op_vert_size = vert_size; -#if defined(XF86DRM_MODE) - if (info->cs) - vb = (pointer)((char *)vbo->vb_bo->ptr + vbo->vb_offset); - else -#endif - vb = (pointer)((char *)vbo->vb_ptr + vbo->vb_offset); + vb = (pointer)((char *)vbo->vb_bo->ptr + vbo->vb_offset); return vb; } |