aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/radeon_lock.c
diff options
context:
space:
mode:
authorDavid Nusinow <[email protected]>2006-09-24 21:21:15 +0000
committerDavid Nusinow <[email protected]>2006-09-24 21:21:15 +0000
commit387acaac6925e42f47031f26360e33a3f30e7312 (patch)
treea4218beb5aa67b58a74299d899dab9f2f44f971e /src/mesa/drivers/dri/r300/radeon_lock.c
parent952b775dbe0fb434310808058d96931b832050da (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.c2
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);