mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1297965
- Use ANGLE for WebGL2. r=jgilbert
MozReview-Commit-ID: 83zhQ5rTdbi
This commit is contained in:
parent
e222ca7109
commit
fbe0056e79
@ -729,11 +729,8 @@ WebGLContext::CreateAndInitGL(bool forceEnabled,
|
||||
const bool useEGL = PR_GetEnv("MOZ_WEBGL_FORCE_EGL");
|
||||
|
||||
#ifdef XP_WIN
|
||||
if (!IsWebGL2()) {
|
||||
// Use only ANGLE on Windows for WebGL 1.
|
||||
tryNativeGL = false;
|
||||
tryANGLE = true;
|
||||
}
|
||||
|
||||
if (gfxPrefs::WebGLDisableWGL()) {
|
||||
tryNativeGL = false;
|
||||
|
Loading…
Reference in New Issue
Block a user