mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-25 02:40:46 +02:00
disabled stereo checking in wglChoosePixelFormat
This commit is contained in:
parent
a95aba7d1f
commit
616a5b64f9
1 changed files with 5 additions and 0 deletions
|
|
@ -860,9 +860,14 @@ wglChoosePixelFormat(HDC hdc, const PIXELFORMATDESCRIPTOR * ppfd)
|
|||
if (!(pfd.dwFlags & PFD_DOUBLEBUFFER_DONTCARE)
|
||||
&& ((pfd.dwFlags & PFD_DOUBLEBUFFER) !=
|
||||
(pix[i].pfd.dwFlags & PFD_DOUBLEBUFFER))) continue;
|
||||
#if 0 /* [dBorca] Hack alert:
|
||||
* Doom3 fails here!
|
||||
* Can we get away by implementing WGL_ARB_pixel_format?
|
||||
*/
|
||||
if (!(pfd.dwFlags & PFD_STEREO_DONTCARE)
|
||||
&& ((pfd.dwFlags & PFD_STEREO) !=
|
||||
(pix[i].pfd.dwFlags & PFD_STEREO))) continue;
|
||||
#endif
|
||||
|
||||
if (pfd.cDepthBits > 0 && pix[i].pfd.cDepthBits == 0)
|
||||
continue; /* need depth buffer */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue