Commit aa225419 authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Alexandre Julliard

wgl: Silence an error in ConvertPixelFormatWGLtoGLX.

parent 36e90546
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment