diff options
author | Ian Romanick <[email protected]> | 2004-06-02 05:07:10 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2004-06-02 05:07:10 +0000 |
commit | c06b25594e5effe34a90c067e1a3da0f61cf2b13 (patch) | |
tree | b4566acb6bdd7aa99e92c064c38db907a6c9b182 /src/mesa/drivers/dri/tdfx/server | |
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/tdfx/server')
-rw-r--r-- | src/mesa/drivers/dri/tdfx/server/tdfx_dri.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/tdfx/server/tdfx_dri.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/tdfx/server/tdfx_dri.c b/src/mesa/drivers/dri/tdfx/server/tdfx_dri.c index e0f7609be76..8184f60361f 100644 --- a/src/mesa/drivers/dri/tdfx/server/tdfx_dri.c +++ b/src/mesa/drivers/dri/tdfx/server/tdfx_dri.c @@ -259,7 +259,7 @@ static int createScreen (DRIDriverContext *ctx, TDFXDRIPtr pTDFX) /* Need to AddMap the framebuffer and mmio regions here: */ if (drmAddMap( ctx->drmFD, - (drmHandle)ctx->FBStart, + (drm_handle_t)ctx->FBStart, ctx->FBSize, DRM_FRAME_BUFFER, #ifndef _EMBEDDED diff --git a/src/mesa/drivers/dri/tdfx/server/tdfx_dri.h b/src/mesa/drivers/dri/tdfx/server/tdfx_dri.h index 956b7e7034c..e7ad87d1b1b 100644 --- a/src/mesa/drivers/dri/tdfx/server/tdfx_dri.h +++ b/src/mesa/drivers/dri/tdfx/server/tdfx_dri.h @@ -6,7 +6,7 @@ #include "xf86drm.h" typedef struct { - drmHandle regs; + drm_handle_t regs; drmSize regsSize; drmAddress regsMap; int deviceID; |