• Zebediah Figura's avatar
    wined3d: Do not set the pixel format if wglGetPixelFormat() returns zero and we… · 8da023fe
    Zebediah Figura authored
    wined3d: Do not set the pixel format if wglGetPixelFormat() returns zero and we already set the internal pixel format.
    
    Currently this does nothing, because wglGetPixelFormat() returns the pixel
    format set by wglSetPixelFormatWINE(). However, with the following changes to
    WGL_WINE_pixel_format_passthrough, wglGetPixelFormat() will only return the
    pixel format set by wglSetPixelFormat(). Hence we should avoid trying to set
    the "internal" pixel format more than once.
    8da023fe
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...