Re: X11DRV: fix fbconfig regression

2006-09-16 Thread Roderick Colenbrander
Ati doesn't advertise GLX_SGIX_fbconfig. They only advertise a GLX client version of 1.3. Because the Xserver only supports 1.2, the reported version is also 1.2 (only the client version number is 1.3, the rest not). Roderick > Roderick Colenbrander wrote: > > The issue is that ATI's drivers do

Re: X11DRV: fix fbconfig regression

2006-09-16 Thread Roderick Colenbrander
> Roderick Colenbrander wrote: > > There's this check: > > if ((!WineGLInfo.glxDirect && !strcmp("1.2", > WineGLInfo.glxServerVersion)) || > > (WineGLInfo.glxDirect && !strcmp("1.2", > WineGLInfo.glxClientVersion))) > > > This is not the correct way of loading opengl functions or de

Re: X11DRV: fix fbconfig regression

2006-09-15 Thread Tomas Carnecky
Tomas carnecky wrote: This is not the correct way of loading opengl functions or deciding whether they are available or not. According to the GLX_ARB_get_proc_address spec, we need to check _only_ glXQueryExtensionsString() and glXQueryVersion() The spec: http://www.opengl.org/registry/specs/

Re: X11DRV: fix fbconfig regression

2006-09-15 Thread Tomas carnecky
Roderick Colenbrander wrote: There's this check: if ((!WineGLInfo.glxDirect && !strcmp("1.2", WineGLInfo.glxServerVersion)) || (WineGLInfo.glxDirect && !strcmp("1.2", WineGLInfo.glxClientVersion))) This is not the correct way of loading opengl functions or deciding whether they