зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1565365 - Let webgl.force-enabled apply to WebGL2 as well r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D37821 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
be87d8ce17
Коммит
a216f3dde7
|
@ -455,7 +455,7 @@ bool WebGLContext::CreateAndInitGL(
|
|||
}
|
||||
|
||||
// WebGL2 is separately blocked:
|
||||
if (IsWebGL2()) {
|
||||
if (IsWebGL2() && !forceEnabled) {
|
||||
const nsCOMPtr<nsIGfxInfo> gfxInfo = services::GetGfxInfo();
|
||||
const auto feature = nsIGfxInfo::FEATURE_WEBGL2;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче