added wgl_bind_to_texture_depth_nv to ConvertAttribWGLtoGLX

Chris Robinson chris.kcat at
Tue Feb 5 16:29:58 CST 2008

On Tuesday 05 February 2008 02:09:09 pm Christopher Harvey wrote:
> @@ -758,6 +758,7 @@ static int ConvertAttribWGLtoGLX(const int* iWGLAttr,
> int* oGLXAttr, Wine_GLPBuf nvfloatattrib = iWGLAttr[++cur];
>        TRACE("pAttr[%d] = WGL_FLOAT_COMPONENTS_NV: %x\n", cur,
> nvfloatattrib); break ;

I don't think it's correct to add this since it's not supported (the extension 
string isn't exported and it can't be easilly emulated). If an app is trying 
to set that attribute without the extension being advertised, I'd say the app 
is broken. If you're intending on adding support, you may want to familiarize 
yourself with how wine emulates render_to_texture and look over the 

More information about the wine-devel mailing list