diff options
Diffstat (limited to 'src/mesa/drivers/x11/xm_buffer.c')
-rw-r--r-- | src/mesa/drivers/x11/xm_buffer.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/drivers/x11/xm_buffer.c b/src/mesa/drivers/x11/xm_buffer.c index 11b7c244ea9..84e6fcd795c 100644 --- a/src/mesa/drivers/x11/xm_buffer.c +++ b/src/mesa/drivers/x11/xm_buffer.c @@ -35,6 +35,7 @@ #include "main/formats.h" #include "main/framebuffer.h" #include "main/renderbuffer.h" +#include "swrast/s_renderbuffer.h" #define XMESA_RENDERBUFFER 0x1234 @@ -481,8 +482,8 @@ xmesa_MapRenderbuffer(struct gl_context *ctx, } /* otherwise, this is an ordinary malloc-based renderbuffer */ - _mesa_map_soft_renderbuffer(ctx, rb, x, y, w, h, mode, - mapOut, rowStrideOut); + _swrast_map_soft_renderbuffer(ctx, rb, x, y, w, h, mode, + mapOut, rowStrideOut); } @@ -528,7 +529,7 @@ xmesa_UnmapRenderbuffer(struct gl_context *ctx, struct gl_renderbuffer *rb) } /* otherwise, this is an ordinary malloc-based renderbuffer */ - _mesa_unmap_soft_renderbuffer(ctx, rb); + _swrast_unmap_soft_renderbuffer(ctx, rb); } |