mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
Backed out changeset 85a3dd1433e2 (bug 1371190)
This commit is contained in:
parent
b0ddb6bf3c
commit
bc16594d0d
@ -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);
|
||||
|
||||
//////
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user