mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 12:55:46 +00:00
Bug 965804 - Ignore the deprecated texture pref except on Windows. r=Bas,Vlad
This commit is contained in:
parent
1954d196cd
commit
7e4d9d4164
@ -302,8 +302,14 @@ gfxPlatform::gfxPlatform()
|
||||
XRE_GetProcessType() == GeckoProcessType_Default &&
|
||||
Preferences::GetBool("layers.prefer-memory-over-shmem", true);
|
||||
|
||||
#ifdef XP_WIN
|
||||
// XXX - When 957560 is fixed, the pref can go away entirely
|
||||
mLayersUseDeprecated =
|
||||
Preferences::GetBool("layers.use-deprecated-textures", true);
|
||||
Preferences::GetBool("layers.use-deprecated-textures", true)
|
||||
&& !Preferences::GetBool("layers.prefer-opengl", false);
|
||||
#else
|
||||
mLayersUseDeprecated = false;
|
||||
#endif
|
||||
|
||||
Preferences::AddBoolVarCache(&mDrawLayerBorders,
|
||||
"layers.draw-borders",
|
||||
|
Loading…
Reference in New Issue
Block a user