diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2014-12-25 11:42:03 +0900 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-12-25 13:30:16 -0800 |
commit | 70a6f65f9e2b26ef7539dcacfcfea927bc1f13fd (patch) | |
tree | ded1bc5a1524e56e2c937759e1b724db9efcc11a /hw/xwayland/xwayland-input.c | |
parent | 11b85ab2fc944c0645df43180a6c7e2d6a06483a (diff) |
glamor: Make sure Xvideo source image data is properly aligned
_glamor_upload_bits_to_pixmap_texture currently ignores the stride
parameter, but __glamor_upload_pixmap_to_texture uses 4-byte alignment
via glPixelStorei(GL_UNPACK_ALIGNMENT, 4).
Also fix up the stride argument passed in though, in case it starts
being used properly in the future.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=87455
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw/xwayland/xwayland-input.c')
0 files changed, 0 insertions, 0 deletions