xlib: stop calling XShmQueryVersion()
authorBrian Paul <brianp@vmware.com>
Wed, 11 Jan 2012 02:32:38 +0000 (19:32 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 11 Jan 2012 19:43:45 +0000 (12:43 -0700)
commit0a20051e6da99e91b7bf589ea457c77a8b618f26
tree50900d2fed51aaf8c76b3a5f6de867b6a029e2f9
parent7f6de60c585c6ac99d8e6b1280a8d7ce82f3c5e2
xlib: stop calling XShmQueryVersion()

It caused an X protocol error in some (rare) situations.
This is a follow-on to the previous commits which fixes a bug reported
by Wayne E. Robertz.

NOTE: This is a candidate for the 7.11 branch.

Reviewed-by: Adam Jackson <ajax@redhat.com>
src/mesa/drivers/x11/xm_api.c