Backed out changeset 85a3dd1433e2 (bug 1371190)

This commit is contained in:
Sebastian Hengst 2017-10-06 15:29:34 +02:00
parent b0ddb6bf3c
commit bc16594d0d

View File

@ -763,12 +763,8 @@ WebGLContext::CreateAndInitGL(bool forceEnabled,
//////
if (tryANGLE) {
// Force enable alpha channel to make sure ANGLE use correct framebuffer formart
gl::SurfaceCaps& angleCaps = const_cast<gl::SurfaceCaps&>(baseCaps);
angleCaps.alpha = true;
return CreateAndInitGLWith(CreateGLWithANGLE, angleCaps, flags, out_failReasons);
}
if (tryANGLE)
return CreateAndInitGLWith(CreateGLWithANGLE, baseCaps, flags, out_failReasons);
//////