dri3: Flush XCB before blocking for special events
authorKeith Packard <keithp@keithp.com>
Tue, 26 Nov 2013 06:57:42 +0000 (22:57 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 31 Jan 2014 00:40:25 +0000 (16:40 -0800)
commitf12d6d613acd3f85309e4a3063871b188c93a145
tree1923f343106ddec685662cb2dc36557b4ad8f38c
parent09d6c1972037a5519488094afd225f793d2188d0
dri3: Flush XCB before blocking for special events

XCB doesn't flush the output buffer automatically, so we have to call
xcb_flush ourselves before waiting.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/glx/dri3_glx.c