wine/dlls/opengl32
Damjan Jovanovic f70fc9cbfc opengl32: Implement filtering on all the ChoosePixelFormat() flags that are ignored when unset.
When any of these flags:
- PFD_DRAW_TO_WINDOW
- PFD_DRAW_TO_BITMAP
- PFD_SUPPORT_GDI
- PFD_SUPPORT_OPENGL
are set on the PIXELFORMATDESCRIPTOR parameter to ChoosePixelFormat(),
the returned pixel format must also have them set, but when they are
unset, the returned pixel format may or may not have them set.

Also add support for filtering on all these flags. In particular, the
lack of filtering on PFD_SUPPORT_GDI, was causing (at least) Java 1.3
to fail to initialize graphics, because we were returning a pixel
format without the PFD_SUPPORT_GDI flag it asked for.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=7767
2023-06-27 22:14:16 +02:00
..
tests opengl32: Implement filtering on all the ChoosePixelFormat() flags that are ignored when unset. 2023-06-27 22:14:16 +02:00
make_opengl opengl32: Use default calling convention for WGL driver entry points. 2022-12-06 17:11:21 +01:00
Makefile.in
opengl32.spec
private.h
thunks.c
unix_private.h
unix_thunks.c opengl32: Use default calling convention for WGL driver entry points. 2022-12-06 17:11:21 +01:00
unix_wgl.c opengl32: Do not report a GL version higher than 4.3 on wow64. 2023-06-27 22:14:15 +02:00
unixlib.h
version.rc Update copyright info for 2023. 2023-01-08 12:12:25 +01:00
wgl.c opengl32: Implement filtering on all the ChoosePixelFormat() flags that are ignored when unset. 2023-06-27 22:14:16 +02:00
winegl.xml