[ros-kernel] bug #210 - upside-down Q2Demo image

Royce Mitchell III royce3 at ev1.net
Tue Feb 17 12:47:39 CET 2004


I added this as a comment in bugzilla on bug #210 also:

subsys/win32k/objects/dib.c line 966:
    bm.bmHeight = effHeight;
should be:
    bm.bmHeight = bi->biHeight;

We're throwing away negative heights.

If Q2 is creating a DIB section with a negative height, and we're
destroying the negative height, that would explain an upside-down
image.

Making this change is likely to cause a crash in DIB handling code.
I can't test it right now, but this should be a step in the right
direction.


Royce3



More information about the Ros-kernel mailing list