s/pdp/prp/ in DoBindContext()
authorPanagiotis Papadakos <papadako@csd.uoc.gr>
Mon, 26 Feb 2007 14:59:14 +0000 (07:59 -0700)
committerBrian <brian@yutani.localnet.net>
Mon, 26 Feb 2007 14:59:14 +0000 (07:59 -0700)
src/mesa/drivers/dri/common/dri_util.c

index 3e27052afc15bdb89ebbbb9b2f5c1f437c7f8905..07ac4c7cd5f22224e2408d171102cd762ea87a50 100644 (file)
@@ -340,7 +340,7 @@ static GLboolean DoBindContext(__DRInativeDisplay *dpy,
        DRM_SPINUNLOCK(&psp->pSAREA->drawable_lock, psp->drawLockID);
     }
 
-    if ((pdp != prp) && (!pdp->pStamp || *pdp->pStamp != pdp->lastStamp)) {
+    if ((pdp != prp) && (!prp->pStamp || *prp->pStamp != prp->lastStamp)) {
        DRM_SPINLOCK(&psp->pSAREA->drawable_lock, psp->drawLockID);
        __driUtilUpdateDrawableInfo(prp);
        DRM_SPINUNLOCK(&psp->pSAREA->drawable_lock, psp->drawLockID);