gdi32: Use supplied hdc for DIB_RGB_COLORS if it's valid.
commit352e2ff6eb5116d2ac91db9258ae288733e3a271
authorNikolay Sivov <nsivov@codeweavers.com>
Mon, 12 Apr 2010 09:00:45 +0000 (12 13:00 +0400)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 12 Apr 2010 09:30:16 +0000 (12 11:30 +0200)
tree8fa73da0f7320c1f6b18929268eefefcf847bda7
parent6f0560dfa7b2c4aa2e9eb5f762f08193d4471137
gdi32: Use supplied hdc for DIB_RGB_COLORS if it's valid.

This is about fixing regression introduced with 2854884a428e222cbb9078d875068a72f25365c4.
Initial patch fixed MSVS 2005 toolbars blackness, this one doesn't break a fix,
and fixes regressed Animation control glitches (and probably reported games related problems).
dlls/gdi32/dib.c