Loading content/canvas/src/WebGLContextValidate.cpp +0 −8 Original line number Original line Diff line number Diff line Loading @@ -580,14 +580,6 @@ WebGLContext::InitAndValidateGL() gl->fGetIntegerv(LOCAL_GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, &mGLMaxVertexTextureImageUnits); gl->fGetIntegerv(LOCAL_GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, &mGLMaxVertexTextureImageUnits); } } #ifdef XP_MACOSX if (gl->Vendor() == gl::GLContext::VendorIntel) { // bug 684882, corruption in large cube maps on Intel Mac driver. // Is reported to only affect Mac OS < 10.7.2 but don't want to rely on that yet. mGLMaxCubeMapTextureSize = NS_MIN(mGLMaxCubeMapTextureSize, 512); } #endif if (MinCapabilityMode()) { if (MinCapabilityMode()) { mGLMaxFragmentUniformVectors = MINVALUE_GL_MAX_FRAGMENT_UNIFORM_VECTORS; mGLMaxFragmentUniformVectors = MINVALUE_GL_MAX_FRAGMENT_UNIFORM_VECTORS; mGLMaxVertexUniformVectors = MINVALUE_GL_MAX_VERTEX_UNIFORM_VECTORS; mGLMaxVertexUniformVectors = MINVALUE_GL_MAX_VERTEX_UNIFORM_VECTORS; Loading Loading
content/canvas/src/WebGLContextValidate.cpp +0 −8 Original line number Original line Diff line number Diff line Loading @@ -580,14 +580,6 @@ WebGLContext::InitAndValidateGL() gl->fGetIntegerv(LOCAL_GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, &mGLMaxVertexTextureImageUnits); gl->fGetIntegerv(LOCAL_GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, &mGLMaxVertexTextureImageUnits); } } #ifdef XP_MACOSX if (gl->Vendor() == gl::GLContext::VendorIntel) { // bug 684882, corruption in large cube maps on Intel Mac driver. // Is reported to only affect Mac OS < 10.7.2 but don't want to rely on that yet. mGLMaxCubeMapTextureSize = NS_MIN(mGLMaxCubeMapTextureSize, 512); } #endif if (MinCapabilityMode()) { if (MinCapabilityMode()) { mGLMaxFragmentUniformVectors = MINVALUE_GL_MAX_FRAGMENT_UNIFORM_VECTORS; mGLMaxFragmentUniformVectors = MINVALUE_GL_MAX_FRAGMENT_UNIFORM_VECTORS; mGLMaxVertexUniformVectors = MINVALUE_GL_MAX_VERTEX_UNIFORM_VECTORS; mGLMaxVertexUniformVectors = MINVALUE_GL_MAX_VERTEX_UNIFORM_VECTORS; Loading