https://bugzilla.novell.com/show_bug.cgi?id=652562
https://bugzilla.novell.com/show_bug.cgi?id=652562#c22
--- Comment #22 from Petr Mladek 2011-02-14 16:38:10 UTC ---
Created an attachment (id=413892)
--> (http://bugzilla.novell.com/attachment.cgi?id=413892)
Proposed fix for both bugs.
I have been able to reproduce this with 16 bytes per pixel screen. I saw the
following values:
width = 551
bpp = 16
bytes_per_line = 1104
Note that 551 * 2 = 1102 => it aliased the buffer to 4 bytes
It helped me to add:
--- cut ---
out = data + y * bytes_per_line;
--- cut ---
into COPY_IN_OUT. So, it fills the data buffer correctly by rows.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.