From: Erik Faye-Lund Date: Fri, 12 Jun 2020 14:30:01 +0000 (+0200) Subject: st/wgl: do not reject PFD_SUPPORT_GDI X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a26015764efd52e8102ef3848ecbdff7d33fc13;p=mesa.git 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 Part-of: --- 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;