st/dri: Make st_framebuffer_iface the base for dri_drawable
[mesa.git] / src / gallium / state_trackers / dri / sw / drisw.c
index 9bd838e6227484423883afb1e84bdf60ca0cc9aa..c3f88c936ef06bae76a1a0d109c3968196c5058d 100644 (file)
@@ -112,7 +112,7 @@ drisw_invalidate_drawable(__DRIdrawable *dPriv)
 
    /* check if swapping currently bound buffer */
    if (ctx && ctx->dPriv == dPriv)
-      ctx->st->notify_invalid_framebuffer(ctx->st, drawable->stfb);
+      ctx->st->notify_invalid_framebuffer(ctx->st, &drawable->base);
 }
 
 static INLINE void