summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-09-26 10:25:37 -0700
committerEric Anholt <eric@anholt.net>2013-10-10 16:34:30 -0700
commit7f3a131b6e998653e3a08cb57ff46a264ece0ee9 (patch)
treec7edc9eadb5925273165f7ad911c6be135658260
parent36fbe66d3a71df76fcb6f915846da4471b3a8442 (diff)
dri: Remove dead comment.
The code it was referencing was removed in 2010. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
-rw-r--r--src/mesa/drivers/dri/common/dri_util.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c
index fa520ea904..b95970d24d 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;