Sweden-Number/dlls/win32u
Zhiyi Zhang 60faf44ed1 win32u: Allow selecting 32-bit DDBs into display compatible DCs.
Device context bit depths other than 32-bit are emulated and the real bit depth for display DCs is
still 32-bit. Thus, a 32-bit DDB should be allowed to be selected into a display compatible DC even
if the DC reports a different bit depth.

Fix a regression from d171d11.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51805
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-06 13:05:50 +01:00
..
dibdrv win32u: Use user driver for wine_get_vulkan_driver. 2021-12-08 09:57:56 +01:00
tests win32u: Implement NtUserBuildHwndList. 2021-12-23 10:52:33 +01:00
Makefile.in win32u: Move NtUserShowCursor implementation from user32. 2021-12-03 16:56:08 +01:00
bitblt.c win32u: Move ntgdi implementation from gdi32. 2021-10-07 18:03:11 +02:00
bitmap.c win32u: Allow selecting 32-bit DDBs into display compatible DCs. 2022-01-06 13:05:50 +01:00
brush.c win32u: Move ntgdi implementation from gdi32. 2021-10-07 18:03:11 +02:00
clipboard.c win32u: Move NtUserGetOpenClipboardWindow implementation from user32. 2021-11-16 17:44:42 +01:00
clipping.c win32u: Move ntgdi implementation from gdi32. 2021-10-07 18:03:11 +02:00
cursoricon.c win32u: Move NtUserGetCursor implementation from user32. 2021-12-03 16:56:08 +01:00
dc.c win32u: Use NtUserSelectPalette instead of GDISelectPalette. 2021-12-03 16:56:08 +01:00
dib.c win32u: Do not free user memory when deleting dibs created with NtGdiDdDDICreateDCFromMemory(). 2021-11-22 22:20:51 +01:00
driver.c win32u: Use null driver to handle virtual display devices. 2021-12-20 10:12:49 +01:00
emfdrv.c win32u: Use user driver for wine_get_vulkan_driver. 2021-12-08 09:57:56 +01:00
font.c win32u: Use user driver for wine_get_vulkan_driver. 2021-12-08 09:57:56 +01:00
freetype.c configure: Assume that sys/mman.h is available on Unix. 2021-12-09 18:43:51 +01:00
gdiobj.c win32u: Move 55aa brush implementation from user32. 2021-12-07 20:24:42 +01:00
input.c win32u: Move NtUserGetKeyboardLayoutName implementation from user32. 2021-12-03 16:56:08 +01:00
main.c win32u: Move ntgdi implementation from gdi32. 2021-10-07 18:03:11 +02:00
mapping.c win32u: Only retrieve the dc size if needed. 2021-11-26 11:59:08 +01:00
ntgdi_private.h win32u: Move 55aa brush implementation from user32. 2021-12-07 20:24:42 +01:00
opentype.c win32u: Use 7-bit ascii for unhandled encodings. 2021-11-08 11:43:04 +01:00
painting.c win32u: Handle memory allocation failures in nulldrv_PolyBezierTo (cppcheck). 2021-12-22 18:57:16 +01:00
palette.c win32u: Use NtUserSelectPalette instead of GDISelectPalette. 2021-12-03 16:56:08 +01:00
path.c win32u: Fix memory leak on error path in PATH_WidenPath (cppcheck). 2021-12-20 10:14:02 +01:00
pen.c win32u: Move ntgdi implementation from gdi32. 2021-10-07 18:03:11 +02:00
printdrv.c win32u: Don't call abort proc in NtGdiStartDoc. 2021-10-18 16:00:44 +02:00
region.c win32u: Use NtUserCallTwoParam for MirrorRgn implementation. 2021-12-07 20:24:38 +01:00
syscall.c win32u: Implement NtUserBuildHwndList. 2021-12-23 10:52:33 +01:00
sysparams.c win32u: Use null driver to handle virtual display devices. 2021-12-20 10:12:49 +01:00
vertical.c win32u: Move ntgdi implementation from gdi32. 2021-10-07 18:03:11 +02:00
vulkan.c win32u: Use user driver for wine_get_vulkan_driver. 2021-12-08 09:57:56 +01:00
win32u.spec win32u: Implement NtUserBuildHwndList. 2021-12-23 10:52:33 +01:00
win32u_private.h win32u: Return an NTSTATUS from NtUserEnumDisplayDevices. 2021-12-10 22:00:13 +01:00
window.c win32u: Implement NtUserBuildHwndList. 2021-12-23 10:52:33 +01:00
winstation.c win32u: Move winstation initialization from user32. 2021-10-14 18:59:54 +02:00
wrappers.c win32u: Return an NTSTATUS from NtUserEnumDisplayDevices. 2021-12-10 22:00:13 +01:00