diff options
author | Roland Scheidegger <[email protected]> | 2007-07-14 14:24:20 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2007-07-14 14:24:20 +0200 |
commit | a04056d313a8346dc9e6e1b062762a6f115d1b46 (patch) | |
tree | 5e9597deefb8653708ea34456d8460af9664358f /src/mesa/drivers/dri/common/drirenderbuffer.c | |
parent | f022bff5aa828cfdbb4749f672fc51c345f9cb33 (diff) |
fix assertion, z/stencil swarst readback, (still looks suspicious) copyTexSubimage
Diffstat (limited to 'src/mesa/drivers/dri/common/drirenderbuffer.c')
-rw-r--r-- | src/mesa/drivers/dri/common/drirenderbuffer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/drirenderbuffer.c b/src/mesa/drivers/dri/common/drirenderbuffer.c index d36af3e5bee..d4f7f2527bb 100644 --- a/src/mesa/drivers/dri/common/drirenderbuffer.c +++ b/src/mesa/drivers/dri/common/drirenderbuffer.c @@ -209,7 +209,11 @@ 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 } } |