st/dri: Make st_framebuffer_iface the base for dri_drawable
[mesa.git] / src / gallium / state_trackers / dri / common / dri_drawable.h
index dad218bde290fc5996361b1329d3fe3fd7e22653..6c54a6953b339c47572a6a0bfbe04bf3d9923b05 100644 (file)
@@ -42,14 +42,13 @@ struct dri_context;
 
 struct dri_drawable
 {
+   struct st_framebuffer_iface base;
+   struct st_visual stvis;
+
    /* dri */
    __DRIdrawable *dPriv;
    __DRIscreen *sPriv;
 
-   /* gallium */
-   struct st_framebuffer_iface *stfb;
-   struct st_visual stvis;
-
    __DRIbuffer old[8];
    unsigned old_num;
    unsigned old_w;