diff options
Diffstat (limited to 'xc/lib/GL/mesa/src/drv/mga/mga_xmesa.h')
-rw-r--r-- | xc/lib/GL/mesa/src/drv/mga/mga_xmesa.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xc/lib/GL/mesa/src/drv/mga/mga_xmesa.h b/xc/lib/GL/mesa/src/drv/mga/mga_xmesa.h index 261049554..f76950b7a 100644 --- a/xc/lib/GL/mesa/src/drv/mga/mga_xmesa.h +++ b/xc/lib/GL/mesa/src/drv/mga/mga_xmesa.h @@ -94,10 +94,11 @@ extern void mgaXMesaSetFrontClipRects( mgaContextPtr mmesa ); #define LOCK_HARDWARE( mmesa ) \ do { \ char __ret=0; \ + if (0) fprintf(stderr, "lock in %s\n", __FUNCTION__); \ DRM_CAS(mmesa->driHwLock, mmesa->hHWContext, \ (DRM_LOCK_HELD|mmesa->hHWContext), __ret); \ - if (__ret) \ - mgaGetLock( mmesa, 0 ); \ + if (__ret) \ + mgaGetLock( mmesa, 0 ); \ } while (0) @@ -113,7 +114,7 @@ extern void mgaXMesaSetFrontClipRects( mgaContextPtr mmesa ); /* Unlock the hardware using the global current context */ -#define UNLOCK_HARDWARE(mmesa) \ +#define UNLOCK_HARDWARE(mmesa) \ DRM_UNLOCK(mmesa->driFd, mmesa->driHwLock, mmesa->hHWContext); |