st/mesa: invalidate readpixels cache
[mesa.git] / src / mesa / state_tracker / st_draw.c
index 3db5749725e917a93e19d4ef545ac1820ad30e48..d12d77f501505c2da076996c11b66f51d9067af6 100644 (file)
@@ -170,6 +170,7 @@ st_draw_vbo(struct gl_context *ctx,
    assert(ctx->NewState == 0x0);
 
    st_flush_bitmap_cache(st);
+   st_invalidate_readpix_cache(st);
 
    /* Validate state. */
    if (st->dirty.st || st->dirty.mesa || ctx->NewDriverState) {