TRACE("Returning FBConfig_ID=%x for iPixelFormat=%d\n",WineGLPixelFormatList[iPixelFormat-1].fbconfig,iPixelFormat);
}
*fmt_count=WineGLPixelFormatListSize;
TRACE("Returning fmt_index=%d, fmt_count=%d for iPixelFormat=%d\n",*fmt_index,*fmt_count,iPixelFormat);
TRACE("Number of returned pixelformats=%d\n",*fmt_count);
returnret;
}
...
...
@@ -968,7 +1029,7 @@ int X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *physDev,
}
/* In case an fbconfig was found, check if it matches to the requirements of the ppfd */
if(!ConvertPixelFormatWGLtoGLX(gdi_display,1/* main visual */,&fmt_index,&value)){
if(!ConvertPixelFormatWGLtoGLX(gdi_display,1/* main visual */,FALSE/* offscreen */,&fmt_index,&value)){
ERR("Can't find a matching FBCONFIG_ID for VISUAL_ID 0x%lx!\n",visual->visualid);
}else{
intdwFlags=0;
...
...
@@ -1085,7 +1146,7 @@ int X11DRV_DescribePixelFormat(X11DRV_PDEVICE *physDev,
}
/* 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 */