/* Check if the pixelformat is valid. Note that it is legal to pass an invalid
* iPixelFormat in case of probing the number of pixelformats.
...
...
@@ -1138,7 +1139,7 @@ static int glxdrv_wglDescribePixelFormat( HDC hdc, int iPixelFormat,
/*XVisualInfo *vis;*/
intvalue;
intrb,gb,bb,ab;
WineGLPixelFormat*fmt;
conststructwgl_pixel_format*fmt;
if(!has_opengl())return0;
...
...
@@ -1147,7 +1148,7 @@ static int glxdrv_wglDescribePixelFormat( HDC hdc, int iPixelFormat,
if(!ppfd)returnnb_onscreen_formats;
/* Look for the iPixelFormat in our list of supported formats. If it is supported we get the index in the FBConfig table and the number of supported formats back */