diff options
author | Stephen White <[email protected]> | 2011-10-03 15:18:22 -0700 |
---|---|---|
committer | Stéphane Marchesin <[email protected]> | 2011-10-04 11:19:45 -0700 |
commit | cd9627777c3f1a55560e10912b88b1977c8bfe87 (patch) | |
tree | 30b98dea5c8892922283784d921e1ea97d613d6f /src/gallium | |
parent | 5506f6ef966b8883e575a3f60ce96ad42ee6ffd2 (diff) |
st/glx: Set the drawable attribute on xmesa_buffer creation.
Otherwise we'll be unable to use our pbuffers.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/xm_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |