diff options
author | Bob Arnson <bob@firegiant.com> | 2025-08-26 17:48:25 -0400 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2025-08-27 17:25:44 -0400 |
commit | 9e6443d270e58db21605f843af43e1fecb6ab3c3 (patch) | |
tree | 5cbbe62ba3853f46f5468f6b58d8c11a03dbe6fb | |
parent | 11c3f5ca1d5e44401eb7564af54fb7e98244f21a (diff) | |
download | wix-main.tar.gz wix-main.tar.bz2 wix-main.zip |
Fixes https://github.com/wixtoolset/issues/issues/9148
-rw-r--r-- | src/burn/engine/splashscreen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/burn/engine/splashscreen.cpp b/src/burn/engine/splashscreen.cpp index 0bfa00aa..21ddfa98 100644 --- a/src/burn/engine/splashscreen.cpp +++ b/src/burn/engine/splashscreen.cpp | |||
@@ -371,6 +371,7 @@ static void OnEraseBkgnd( | |||
371 | HDC hdc = reinterpret_cast<HDC>(wParam); | 371 | HDC hdc = reinterpret_cast<HDC>(wParam); |
372 | HDC hdcMem = ::CreateCompatibleDC(hdc); | 372 | HDC hdcMem = ::CreateCompatibleDC(hdc); |
373 | HBITMAP hDefaultBitmap = static_cast<HBITMAP>(::SelectObject(hdcMem, pSplashScreen->hBitmap)); | 373 | HBITMAP hDefaultBitmap = static_cast<HBITMAP>(::SelectObject(hdcMem, pSplashScreen->hBitmap)); |
374 | ::SetStretchBltMode(hdc, HALFTONE); | ||
374 | ::StretchBlt(hdc, 0, 0, pSplashScreen->size.cx, pSplashScreen->size.cy, hdcMem, 0, 0, pSplashScreen->defaultDpiSize.cx, pSplashScreen->defaultDpiSize.cy, SRCCOPY); | 375 | ::StretchBlt(hdc, 0, 0, pSplashScreen->size.cx, pSplashScreen->size.cy, hdcMem, 0, 0, pSplashScreen->defaultDpiSize.cx, pSplashScreen->defaultDpiSize.cy, SRCCOPY); |
375 | ::SelectObject(hdcMem, hDefaultBitmap); | 376 | ::SelectObject(hdcMem, hDefaultBitmap); |
376 | ::DeleteDC(hdcMem); | 377 | ::DeleteDC(hdcMem); |