Don't apply this one yet as noted by Chris Robinson it isn't fully correct yet.
Roderick
On Wednesday 01 August 2007 22:22, Roderick Colenbrander wrote:
Hi,
According to the specs wglChoosePixelFormatARB returns the number of matching pixelformats. This number can be different than the size of the return buffer which is given by nFormats.
Unfortunately glXChooseFBConfig doesn't return all formats when NULL is passed for the attributes. This is due to some default settings not being 0 or 'Don't care'. This required changes to ConvertAttribWGLtoGLX.
Regards, Roderick Colenbrander