pb_buffer: inline 'base' sub-struct
[mesa.git] / src / gallium / winsys / svga / drm / vmw_context.c
index f2124c1bf6508a2c877a9906d63d2aea0ab704d7..633ef385a69f274dc08cc4bafbac1404b15491f3 100644 (file)
@@ -319,7 +319,7 @@ vmw_swc_region_relocation(struct svga_winsys_context *swc,
     * SVGA virtual device it's not a performance issue since flushing commands
     * to the FIFO won't cause flushing in the host.
     */
-   vswc->seen_regions += reloc->buffer->base.size;
+   vswc->seen_regions += reloc->buffer->size;
    if(vswc->seen_regions >= VMW_GMR_POOL_SIZE/3)
       vswc->preemptive_flush = TRUE;
 }