Bug 769810 - Mac ATI OpenGL driver still needs math function emulation on 10.8 - r=jgilbert

This commit is contained in:
Benoit Jacob 2012-07-05 10:13:57 -04:00
parent ee53ef1ef8
commit 06a3b7f799

View File

@ -4954,9 +4954,8 @@ WebGLContext::CompileShader(WebGLShader *shader)
compileOptions |= SH_OBJECT_CODE
| SH_MAP_LONG_VARIABLE_NAMES;
#ifdef XP_MACOSX
// work around bug 665578
// work around bug 665578 and bug 769810
if (gl->WorkAroundDriverBugs() &&
!nsCocoaFeatures::OnLionOrLater() &&
gl->Vendor() == gl::GLContext::VendorATI)
{
compileOptions |= SH_EMULATE_BUILT_IN_FUNCTIONS;