svga/drm: Update for pb_vtbl::map argument addition.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 3 Feb 2011 13:59:58 +0000 (13:59 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 3 Feb 2011 15:15:23 +0000 (15:15 +0000)
src/gallium/winsys/svga/drm/vmw_buffer.c

index eca174a6c56028f77f16a1e0ca2a36c2df0aebc5..80d5dfc3ed49f107bc07c059a02012c614b61989 100644 (file)
@@ -120,7 +120,8 @@ vmw_gmr_buffer_destroy(struct pb_buffer *_buf)
 
 static void *
 vmw_gmr_buffer_map(struct pb_buffer *_buf,
-               unsigned flags)
+                   unsigned flags,
+                   void *flush_ctx)
 {
    struct vmw_gmr_buffer *buf = vmw_gmr_buffer(_buf);
    return buf->map;