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 0c1f91c4b7
commit 0c46c9658e

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;