diff options
author | Ian Romanick <idr@us.ibm.com> | 2004-06-02 05:07:10 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2004-06-02 05:07:10 +0000 |
commit | c06b25594e5effe34a90c067e1a3da0f61cf2b13 (patch) | |
tree | b4566acb6bdd7aa99e92c064c38db907a6c9b182 /src/mesa/drivers/dri/unichrome/xf86drmVIA.c | |
parent | d203091d204ea2e543cd41ea85d0fc57aa794a4b (diff) |
Replace drmHandle, drmContext, drmDrawable, drmMagic and related types with
drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/xf86drmVIA.c')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/xf86drmVIA.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/xf86drmVIA.c b/src/mesa/drivers/dri/unichrome/xf86drmVIA.c index e39bdf745f..8954d8e208 100644 --- a/src/mesa/drivers/dri/unichrome/xf86drmVIA.c +++ b/src/mesa/drivers/dri/unichrome/xf86drmVIA.c @@ -121,7 +121,7 @@ int drmVIAAllocateDMA(int fd, drmVIADMABuf *buf) return -errno; } - if (drmMap(fd,(drmHandle)buf->index, + if (drmMap(fd,(drm_handle_t)buf->index, buf->size,(drmAddressPtr)(&buf->address)) < 0) { return -errno; } |