st/glx: add support for multiple displays
authorBrian Paul <brianp@vmware.com>
Tue, 23 Mar 2010 23:22:43 +0000 (17:22 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 23 Mar 2010 23:24:54 +0000 (17:24 -0600)
commit8ba47561dd45e1cd737992544545d7fa0f61918b
tree01b482d1a6f53156ea8e2fd064b32e737317b059
parent2d84d58975187639291d8f02faa02ffc83b5c195
st/glx: add support for multiple displays

This is a quick & dirty solution, but it works.  See comments in
the code for other ideas.

Fixes regressions/breakage seen in progs/xdemos/glxheads, etc. from commit
6632915e957149c153a3f793c400a532b4995b18.
src/gallium/state_trackers/glx/xlib/xm_api.c