[Mesa-dev] [PATCH 1/7] dri: Remove dead comment.

Eric Anholt eric at anholt.net
Thu Sep 26 20:35:56 PDT 2013


The code it was referencing was removed in 2010.
---
 src/mesa/drivers/dri/common/dri_util.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c
index fa520ea..b95970d 100644
--- a/src/mesa/drivers/dri/common/dri_util.c
+++ b/src/mesa/drivers/dri/common/dri_util.c
@@ -435,10 +435,6 @@ static int driUnbindContext(__DRIcontext *pcp)
 	dri_put_drawable(prp);
     }
 
-    /* XXX this is disabled so that if we call SwapBuffers on an unbound
-     * window we can determine the last context bound to the window and
-     * use that context's lock. (BrianP, 2-Dec-2000)
-     */
     pcp->driDrawablePriv = NULL;
     pcp->driReadablePriv = NULL;
 
-- 
1.8.4.rc3



More information about the mesa-dev mailing list