xserver-multidpi/hw
Mario Kleiner b3548612c7 DRI2: Don't return junk reply instead of blocking in glXWaitForSbcOML()
DRI2WaitSBC() didn't block if requested targetSBC wasn't yet reached.

Instead it returned a xreply with uninitialized junk return values, then
blocked the connection until targetSBC was reached.

Therefore the client didn't block, but continued with bogus return
values from glXWaitForSbcOML.

This patch fixes the problem by implementing DRI2WaitSBC similar
to the clean and proven DRI2WaitMSC implementation.

Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-06-10 06:43:46 -07:00
..
dmx Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
kdrive Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
vfb Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xfree86 DRI2: Don't return junk reply instead of blocking in glXWaitForSbcOML() 2010-06-10 06:43:46 -07:00
xnest Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xquartz Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xwin Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00