Squashed commit of the following:
[mesa.git] / src / gallium / auxiliary / pipebuffer / pb_bufmgr_mm.c
index 63195715d6801c58adcf2188f25a3fcff4896470..faf7c35267454c552db025261524b4e87998b144 100644 (file)
@@ -268,8 +268,8 @@ mm_bufmgr_create_from_buffer(struct pb_buffer *buffer,
    mm->buffer = buffer; 
 
    mm->map = pb_map(mm->buffer, 
-                   PIPE_BUFFER_USAGE_CPU_READ |
-                   PIPE_BUFFER_USAGE_CPU_WRITE);
+                   PB_USAGE_CPU_READ |
+                   PB_USAGE_CPU_WRITE);
    if(!mm->map)
       goto failure;