27 Mar
2009
27 Mar
'09
2:01 p.m.
+ 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