diff options
author | David Nusinow <[email protected]> | 2006-09-24 21:21:15 +0000 |
---|---|---|
committer | David Nusinow <[email protected]> | 2006-09-24 21:21:15 +0000 |
commit | 387acaac6925e42f47031f26360e33a3f30e7312 (patch) | |
tree | a4218beb5aa67b58a74299d899dab9f2f44f971e /src/mesa/drivers/dri/r300/radeon_lock.c | |
parent | 952b775dbe0fb434310808058d96931b832050da (diff) |
* New upstream version
Diffstat (limited to 'src/mesa/drivers/dri/r300/radeon_lock.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/radeon_lock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/radeon_lock.c b/src/mesa/drivers/dri/r300/radeon_lock.c index 893b4b4e7ef..edf26183148 100644 --- a/src/mesa/drivers/dri/r300/radeon_lock.c +++ b/src/mesa/drivers/dri/r300/radeon_lock.c @@ -153,6 +153,8 @@ void radeonGetLock(radeonContextPtr radeon, GLuint flags) __DRIdrawablePrivate *dPriv = radeon->dri.drawable; __DRIscreenPrivate *sPriv = radeon->dri.screen; drm_radeon_sarea_t *sarea = radeon->sarea; + + assert (dPriv != NULL); drmGetLock(radeon->dri.fd, radeon->dri.hwContext, flags); |