Skip to content
Snippets Groups Projects
Commit aa225419 authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Alexandre Julliard
Browse files

wgl: Silence an error in ConvertPixelFormatWGLtoGLX.

parent 36e90546
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment