re-enable fb size assertions which were previously disabled
authorBrian <brian.paul@tungstengraphics.com>
Wed, 31 Oct 2007 16:52:44 +0000 (10:52 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 31 Oct 2007 16:52:44 +0000 (10:52 -0600)
src/mesa/drivers/dri/common/drirenderbuffer.c

index d4f7f25..d34da53 100644 (file)
@@ -209,11 +209,9 @@ driUpdateFramebufferSize(GLcontext *ctx, const __DRIdrawablePrivate *dPriv)
    struct gl_framebuffer *fb = (struct gl_framebuffer *) dPriv->driverPrivate;
    if (fb && (dPriv->w != fb->Width || dPriv->h != fb->Height)) {
       ctx->Driver.ResizeBuffers(ctx, fb, dPriv->w, dPriv->h);
-#if 0
       /* if the driver needs the hw lock for ResizeBuffers, the drawable
          might have changed again by now */
       assert(fb->Width == dPriv->w);
       assert(fb->Height == dPriv->h);
-#endif
    }
 }