[Mesa-dev] [PATCH] xlib: fix build break from _swrast_map_soft_renderbuffer() call

Brian Paul brianp at vmware.com
Fri Jul 27 21:19:13 UTC 2018


We need to pass the new flip_y argument.
---
 src/mesa/drivers/x11/xm_buffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/x11/xm_buffer.c b/src/mesa/drivers/x11/xm_buffer.c
index 97c7814..9c5383b 100644
--- a/src/mesa/drivers/x11/xm_buffer.c
+++ b/src/mesa/drivers/x11/xm_buffer.c
@@ -506,7 +506,7 @@ xmesa_MapRenderbuffer(struct gl_context *ctx,
 
    /* otherwise, this is an ordinary malloc-based renderbuffer */
    _swrast_map_soft_renderbuffer(ctx, rb, x, y, w, h, mode,
-                                 mapOut, rowStrideOut);
+                                 mapOut, rowStrideOut, false);
 }
 
 
-- 
2.7.4



More information about the mesa-dev mailing list