remove a 'fix' that didn't work anyway

This commit is contained in:
rdb 2011-05-04 10:41:13 +00:00
parent d2f531211a
commit f38f17b116

View File

@ -903,17 +903,13 @@ reset() {
_glBindProgram = (PFNGLBINDPROGRAMARBPROC)
get_extension_func(GLPREFIX_QUOTED, "BindProgramARB");
// Bug workaround for radeons.
// For some reason, OSX reports to have this extension too,
// even when there's no ATI card, resulting in cgc not being
// able to find the hint. So, I've disabled the hack there.
#ifndef __APPLE__
if (_shader_caps._active_fprofile == CG_PROFILE_ARBFP1) {
if (has_extension("GL_ATI_draw_buffers")) {
_shader_caps._bug_list.insert(Shader::SBUG_ati_draw_buffers);
}
}
#endif // __APPLE__
}
#endif // HAVE_CG