remove useless code
authorBrian <brian.paul@tungstengraphics.com>
Fri, 2 Nov 2007 18:31:39 +0000 (12:31 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 15:04:47 +0000 (08:04 -0700)
src/mesa/drivers/dri/intel_winsys/intel_context.c

index 9ed19325b70e559e1c4683fc9104b27317d49656..0d33ee2f0f0e44a5f8707226d9095f0a7fc66376 100644 (file)
@@ -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;