mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
remove a 'fix' that didn't work anyway
This commit is contained in:
parent
d2f531211a
commit
f38f17b116
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user