mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
cast driHwLock assignment
This commit is contained in:
parent
f4bc136273
commit
d359f96a18
1 changed files with 2 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue