From cd9627777c3f1a55560e10912b88b1977c8bfe87 Mon Sep 17 00:00:00 2001 From: Stephen White Date: Mon, 3 Oct 2011 15:18:22 -0700 Subject: [PATCH] st/glx: Set the drawable attribute on xmesa_buffer creation. Otherwise we'll be unable to use our pbuffers. --- src/gallium/state_trackers/glx/xlib/xm_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.c b/src/gallium/state_trackers/glx/xlib/xm_api.c index 8f6406ddaee..faaa5a75010 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_api.c +++ b/src/gallium/state_trackers/glx/xlib/xm_api.c @@ -448,7 +448,7 @@ create_xmesa_buffer(Drawable d, BufferType type, if (!b) return NULL; - b->ws.drawable = d; + b->ws.drawable = b->drawable = d; b->ws.visual = vis->visinfo->visual; b->ws.depth = vis->visinfo->depth; -- 2.30.2