[2/11] wined3d: Create a separate function for checking a format's FBO compatibility.

Henri Verbeet hverbeet at gmail.com
Fri Mar 27 09:07:40 CDT 2009


2009/3/27 Allan Tong <actong88 at gmail.com>:
>> +            if (check_fbo_compat(gl_info, gl_formats_template[src].glInternal))
>> +            {
>> +                TRACE("Internal format of %s not supported as FBO target, using render target internal instead\n",
>> +                        debug_d3dformat(gl_formats_template[src].fmt));
>>                 gl_info->gl_formats[dst].rtInternal = gl_formats_template[src].rtInternal;
>>             } else {
>>                 TRACE("Format %s is supported as fbo target\n", debug_d3dformat(gl_formats_template[src].fmt));
>>                 gl_info->gl_formats[dst].rtInternal = gl_formats_template[src].glInternal;
>>             }
>
> Shouldn't this be "!check_fbo_compat" ?
>
Oops, yeah.



More information about the wine-devel mailing list