Mesa (master): st/wgl: do not reject PFD_SUPPORT_GDI
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Aug 18 10:36:49 UTC 2020
Module: Mesa
Branch: master
Commit: 5a26015764efd52e8102ef3848ecbdff7d33fc13
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a26015764efd52e8102ef3848ecbdff7d33fc13
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Fri Jun 12 16:30:01 2020 +0200
st/wgl: do not reject PFD_SUPPORT_GDI
The WGL implementation is currently on top of GDI, so it supports GDI
just fine. No need to reject this.
Acked-by: Jose Fonseca <jfonseca at vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6217>
---
src/gallium/frontends/wgl/stw_wgl.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/gallium/frontends/wgl/stw_wgl.c b/src/gallium/frontends/wgl/stw_wgl.c
index bbb3beaf9e5..fc0796fe24b 100644
--- a/src/gallium/frontends/wgl/stw_wgl.c
+++ b/src/gallium/frontends/wgl/stw_wgl.c
@@ -168,8 +168,6 @@ wglChoosePixelFormat(
return 0;
if (ppfd->dwFlags & PFD_DRAW_TO_BITMAP)
return 0;
- if (ppfd->dwFlags & PFD_SUPPORT_GDI)
- return 0;
if (!(ppfd->dwFlags & PFD_STEREO_DONTCARE) && (ppfd->dwFlags & PFD_STEREO))
return 0;
More information about the mesa-commit
mailing list