diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/fxge/win32/fx_win32_device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/win32/fx_win32_device.cpp b/core/fxge/win32/fx_win32_device.cpp index e20c765535..ec0ed3561d 100644 --- a/core/fxge/win32/fx_win32_device.cpp +++ b/core/fxge/win32/fx_win32_device.cpp @@ -882,7 +882,7 @@ bool CGdiDeviceDriver::GDI_StretchBitMask( bmi.bmiColors[0] = 0xffffff; bmi.bmiColors[1] = 0; - HBRUSH hPattern = CreateSolidBrush(bitmap_color & 0xffffff); + HBRUSH hPattern = CreateBrush(bitmap_color); HBRUSH hOld = (HBRUSH)SelectObject(m_hDC, hPattern); // In PDF, when image mask is 1, use device bitmap; when mask is 0, use brush |