summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-02 12:31:39 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-11-05 08:04:47 -0700
commitd083cbb4db3801f82f6bbcf0a6306013498b5a3a (patch)
tree1cb11de9a2c7e1c7d26d7a562ad1e17e528b4686
parent2beb872e3bac49c9e132cbab0548d4276531c123 (diff)
remove useless code
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_context.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_context.c b/src/mesa/drivers/dri/intel_winsys/intel_context.c
index 9ed19325b7..0d33ee2f0f 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_context.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_context.c
@@ -386,16 +386,6 @@ intelMakeCurrent(__DRIcontextPrivate * driContextPriv,
_mesa_make_current(ctx, &intel_fb->Base, readFb);
- /* The drawbuffer won't always be updated by _mesa_make_current:
- */
- if (ctx->DrawBuffer == &intel_fb->Base) {
-
- if (intel->driDrawable != driDrawPriv) {
- if (driDrawPriv->pdraw->swap_interval == (unsigned)-1) {
- }
- }
- }
-
if ((intel->driDrawable != driDrawPriv) ||
(intel->lastStamp != driDrawPriv->lastStamp)) {
intel->driDrawable = driDrawPriv;