void cso_set_framebuffer(struct cso_context *ctx,
const struct pipe_framebuffer_state *fb)
{
- if (memcmp(&ctx->fb, fb, sizeof(*fb))) {
+ /* XXX this memcmp() fails to detect buffer size changes */
+ if (1/*memcmp(&ctx->fb, fb, sizeof(*fb))*/) {
ctx->fb = *fb;
ctx->pipe->set_framebuffer_state(ctx->pipe, fb);
}