From: Brian Paul Date: Mon, 9 Mar 2009 20:33:19 +0000 (-0600) Subject: xmesa: set back-buffer's drawable field X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22bac2a1a0d315172f815cb8a516bfe198b0a6f3;p=mesa.git xmesa: set back-buffer's drawable field Fixes back-buffer rendering when MESA_BACK_BUFFER=pixmap --- diff --git a/src/mesa/drivers/x11/xm_buffer.c b/src/mesa/drivers/x11/xm_buffer.c index 7ad67bc34da..821e2a8e082 100644 --- a/src/mesa/drivers/x11/xm_buffer.c +++ b/src/mesa/drivers/x11/xm_buffer.c @@ -229,6 +229,7 @@ alloc_back_buffer(XMesaBuffer b, GLuint width, GLuint height) } b->backxrb->ximage = NULL; + b->backxrb->drawable = b->backxrb->pixmap; } }