Bug 636906 - GFX blacklisting not affecting WebGL; r=joe a=hardblocker

This commit is contained in:
Benoit Jacob 2011-02-28 15:14:33 -08:00
parent 5bc865c4b0
commit c39751ce2b

View File

@ -473,14 +473,6 @@ WebGLContext::SetDimensions(PRInt32 width, PRInt32 height)
gl = nsnull;
}
}
// if that failed, and we weren't already preferring EGL, try it now.
if (!gl && !(preferEGL || useANGLE)) {
gl = gl::GLContextProviderEGL::CreateOffscreen(gfxIntSize(width, height), format);
if (gl && !InitAndValidateGL()) {
gl = nsnull;
}
}
#else
// other platforms just use whatever the default is
if (!gl && useOpenGL) {