Added patch to fix wglDescribePixelFormat when NULL is passed as pixel format descriptor.

This commit is contained in:
Sebastian Lackner
2014-11-08 11:35:23 +01:00
parent 03554ec52b
commit e5b7f0c052
5 changed files with 53 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ PATCHLIST := \
dbghelp-KdHelp.ok \
dsound-Fast_Mixer.ok \
fonts-Missing_Fonts.ok \
gdi32-MaxPixelFormats.ok \
gdi32-MultiMonitor.ok \
gdiplus-GdipCreateRegionRgnData.ok \
imagehlp-BindImageEx.ok \
@@ -469,6 +470,24 @@ fonts-Missing_Fonts.ok:
echo '+ { "fonts-Missing_Fonts", "Torsten Kurbad / Erich E. Hoover", "Implement missing fonts expected by Silverlight. [rev 2]" },'; \
) > fonts-Missing_Fonts.ok
# Patchset gdi32-MaxPixelFormats
# |
# | Included patches:
# | * Return maximum number of pixel formats when NULL pointer is passed to wglDescribePixelFormat. [by Sebastian Lackner]
# |
# | This patchset fixes the following Wine bugs:
# | * [#6176] wglDescribePixelFormat should return max index for NULL descriptor
# |
# | Modified files:
# | * dlls/gdi32/dibdrv/opengl.c
# |
.INTERMEDIATE: gdi32-MaxPixelFormats.ok
gdi32-MaxPixelFormats.ok:
$(call APPLY_FILE,gdi32-MaxPixelFormats/0001-gdi32-Return-maximum-number-of-pixel-formats-when-NU.patch)
@( \
echo '+ { "gdi32-MaxPixelFormats", "Sebastian Lackner", "Return maximum number of pixel formats when NULL pointer is passed to wglDescribePixelFormat." },'; \
) > gdi32-MaxPixelFormats.ok
# Patchset gdi32-MultiMonitor
# |
# | Included patches: