st/xlib: initialize the drawable size in create_xmesa_buffer()
authorBrian Paul <brianp@vmware.com>
Mon, 18 Feb 2013 18:17:07 +0000 (11:17 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 19 Feb 2013 14:19:19 +0000 (07:19 -0700)
commite2091f64cb9ea79f3b51c353ed9facc03ec5690a
treea53f946fa3e05c7736ddc13583d4b1182285af1e
parent5876a5dbc0a6ec9ae7f44b5e483d38ae0d24a259
st/xlib: initialize the drawable size in create_xmesa_buffer()

Otherwise, the PBuffer's size was never set.  This also initializes
the buffer size for windows, pixmaps, etc.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=61012

Note: This is a candidate for the stable branches.
src/gallium/state_trackers/glx/xlib/xm_api.c