• Damjan Jovanovic's avatar
    opengl32: Implement filtering on all the ChoosePixelFormat() flags that are ignored when unset. · f70fc9cb
    Damjan Jovanovic authored
    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
    f70fc9cb
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...