[2/11] wined3d: Create a separate function for checking a format's FBO compatibility.
Allan Tong
actong88 at gmail.com
Fri Mar 27 09:01:10 CDT 2009
> + 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" ?
- Allan
More information about the wine-devel
mailing list