Patch for or deficiency with getPixelColor in dlls/ddraw/tests/visual.c?

Stefan Dösinger stefan at
Sun Jan 6 11:07:47 CST 2008

Am Sonntag, 6. Januar 2008 18:02:10 schrieb Gerald Pfeifer:
> I noticed that getPixelColor in dlls/ddraw/tests/visual.c does not
> use its first parameter (device) and the patch below simplifies that
> file accordingly.
> Stefan, as the main author of this file:  is this patch correct or
> does it actually point to a deficiency with these tests?
It should probably query the ddraw object from the passed device instead of 
accessing the global variable

More information about the wine-patches mailing list