summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-05-13 18:24:20 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-05-13 18:24:20 +0000
commitd359f96a180596389e975746c1de0df0a24ca59c (patch)
tree8f33b5f5dfdad0bd6ec71eac7033803d9e144539 /src/mesa/drivers
parentf4bc136273576ec73a9cf57513b6e71f56856890 (diff)
cast driHwLock assignment
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i830/i830_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i830/i830_context.c b/src/mesa/drivers/dri/i830/i830_context.c
index d4d7c2c66d..7a44f0327f 100644
--- a/src/mesa/drivers/dri/i830/i830_context.c
+++ b/src/mesa/drivers/dri/i830/i830_context.c
@@ -331,7 +331,8 @@ GLboolean i830CreateContext( const __GLcontextModes *mesaVis,
/* Dri stuff */
imesa->hHWContext = driContextPriv->hHWContext;
imesa->driFd = sPriv->fd;
- imesa->driHwLock = &sPriv->pSAREA->lock;
+ /* drmLock ptr = &drm_hw_lock_t */
+ imesa->driHwLock = (drmLock *) &sPriv->pSAREA->lock;
imesa->hw_stencil = mesaVis->stencilBits && mesaVis->depthBits == 24;
switch(mesaVis->depthBits) {