wgl: Silence an error in ConvertPixelFormatWGLtoGLX.
This commit is contained in:
parent
36e9054629
commit
aa225419f3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue