Mesa (master): dri: Remove dead comment.
Eric Anholt
anholt at kemper.freedesktop.org
Fri Oct 11 00:12:06 UTC 2013
Module: Mesa
Branch: master
Commit: 7f3a131b6e998653e3a08cb57ff46a264ece0ee9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f3a131b6e998653e3a08cb57ff46a264ece0ee9
Author: Eric Anholt <eric at anholt.net>
Date: Thu Sep 26 10:25:37 2013 -0700
dri: Remove dead comment.
The code it was referencing was removed in 2010.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/drivers/dri/common/dri_util.c | 4 ----
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 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;
More information about the mesa-commit
mailing list