st/egl: fix uninitialized pointer bug
authorBrian Paul <brianp@vmware.com>
Mon, 16 Jul 2012 20:14:07 +0000 (14:14 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 16 Jul 2012 22:03:31 +0000 (16:03 -0600)
commitfe2a7b7e7fca599659b1d248e160d480f2b92ba2
treecca856ca50f29e4166cd6c685a0370e792bf6cb5
parent2f92a9f721b750f30a445fee4d8c9bd6479f6b04
st/egl: fix uninitialized pointer bug

If no format is matched in the loop the value of xconf was undefined.

NOTE: This is a candidate for the 8.0 branch.
src/gallium/state_trackers/egl/x11/native_ximage.c