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@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6217>
This commit is contained in:
Erik Faye-Lund 2020-06-12 16:30:01 +02:00 committed by Marge Bot
parent ac9c94fa14
commit 5a26015764
1 changed files with 0 additions and 2 deletions

View File

@ -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;