Re: [Mesa-dev] [PATCH] st/dri/sw: Fix pitch calculation in drisw_update_tex_buffer

2013-06-19 Thread Stéphane Marchesin
On Tue, Jun 18, 2013 at 8:41 AM, Richard Sandiford wrote: > swrastGetImage rounds the pitch up to 4 bytes for compatibility reasons > that are explained in drisw_glx.c:bytes_per_line, so drisw_update_tex_buffer > must do the same. > > Fixes window skew seen while running firefox over vnc on a 16-b

[Mesa-dev] [PATCH] st/dri/sw: Fix pitch calculation in drisw_update_tex_buffer

2013-06-19 Thread Richard Sandiford
swrastGetImage rounds the pitch up to 4 bytes for compatibility reasons that are explained in drisw_glx.c:bytes_per_line, so drisw_update_tex_buffer must do the same. Fixes window skew seen while running firefox over vnc on a 16-bit screen. Signed-off-by: Richard Sandiford --- src/gallium/state