}
+static void *
+map_surface_buffer(struct pipe_buffer *pb, GLuint access_mode)
+{
+ /* no-op */
+}
+
+
+static void
+unmap_surface_buffer(struct pipe_buffer *pb)
+{
+ /* no-op */
+}
+
+
/**
* quad reading/writing
* These functions are just wrappers around the existing renderbuffer
xmsurf->sps.write_quad_ub = write_quad_ub;
xmsurf->sps.write_mono_row_ub = write_mono_row_ub;
+ xmsurf->sps.surface.buffer.map = map_surface_buffer;
+ xmsurf->sps.surface.buffer.unmap = unmap_surface_buffer;
+
#if 0
if (xrb->ximage) {
xmsurf->sps.surface.ptr = (GLubyte *) xrb->ximage->data;