summaryrefslogtreecommitdiff
path: root/src/gallium/tools/trace
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-06-18 16:41:43 +0100
committerAdam Jackson <ajax@redhat.com>2013-06-24 09:52:24 -0400
commit5a0556f061d9db00dd7637433d393beead3b3d85 (patch)
treeb63eb484a345368fa68abdea815b86fcd42744af /src/gallium/tools/trace
parent2151d893fbd4a4be092098170e2fbca8c35797a5 (diff)
st/dri/sw: Fix pitch calculation in drisw_update_tex_buffer
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. NOTE: This is a candidate for the stable branches. [ajax: fixed typo in comment] Reviewed-by: St├ęphane Marchesin <marcheu@chromium.org> Signed-off-by: Richard Sandiford <rsandifo@linux.vnet.ibm.com>
Diffstat (limited to 'src/gallium/tools/trace')
0 files changed, 0 insertions, 0 deletions