27 Mar
2009
27 Mar
'09
9:07 a.m.
2009/3/27 Allan Tong <actong88(a)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.