number of valid PFD's if the PFD pointer is NULL, without checking
the validity of the other parameters.
-/* $Id: wgl.c,v 1.11 2002/09/04 14:14:36 brianp Exp $ */
+/* $Id: wgl.c,v 1.12 2003/01/15 00:34:16 kschultz Exp $ */
/*
* This library is free software; you can redistribute it and/or
int qt_valid_pix;
qt_valid_pix = qt_pix;
+ if(ppfd == NULL)
+ return(qt_valid_pix);
if(iPixelFormat < 1 || iPixelFormat > qt_valid_pix || nBytes != sizeof(PIXELFORMATDESCRIPTOR))
{
SetLastError(0);