Re: [Mesa-dev] [PATCH] xlib: add X error handler around XGetImage() call

2012-07-26 Thread Ian Romanick
On 07/25/2012 03:23 PM, Brian Paul wrote: XGetImage() will generate a BadMatch error if the source window isn't visible. When that happens, create a new XImage. Fixes piglit 'select' test failures with swrast/xlib driver. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Ian Romanic

[Mesa-dev] [PATCH] xlib: add X error handler around XGetImage() call

2012-07-25 Thread Brian Paul
XGetImage() will generate a BadMatch error if the source window isn't visible. When that happens, create a new XImage. Fixes piglit 'select' test failures with swrast/xlib driver. NOTE: This is a candidate for the 8.0 branch. --- src/mesa/drivers/x11/xm_buffer.c | 29 +