wgl: Silence an error in ConvertPixelFormatWGLtoGLX.

This commit is contained in:
Roderick Colenbrander 2007-08-01 13:32:29 +02:00 committed by Alexandre Julliard
parent 36e9054629
commit aa225419f3
1 changed files with 0 additions and 1 deletions

View File

@ -987,7 +987,6 @@ static WineGLPixelFormat* ConvertPixelFormatWGLtoGLX(Display *display, int iPixe
* iPixelFormat in case of probing the number of pixelformats.
*/
if((iPixelFormat <= 0) || (iPixelFormat > WineGLPixelFormatListSize)) {
ERR("invalid iPixelFormat %d\n", iPixelFormat);
if(AllowOffscreen)
*fmt_count = WineGLPixelFormatListSize;
else