mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 1140723 - Enable vsync compositor on Windows. r=kats
This commit is contained in:
parent
f01e92414c
commit
fc099e1dcd
@ -4628,14 +4628,10 @@ pref("media.gmp.insecure.allow", false);
|
||||
|
||||
// Use vsync aligned rendering. b2g prefs are in b2g.js
|
||||
// Only supported on windows, os x, and b2g
|
||||
#if defined(XP_MACOSX)
|
||||
#if defined(XP_MACOSX) || defined(XP_WIN)
|
||||
pref("gfx.vsync.hw-vsync.enabled", true);
|
||||
pref("gfx.vsync.compositor", true);
|
||||
pref("gfx.vsync.refreshdriver", false);
|
||||
#elif defined(XP_WIN)
|
||||
pref("gfx.vsync.hw-vsync.enabled", false);
|
||||
pref("gfx.vsync.compositor", false);
|
||||
pref("gfx.vsync.refreshdriver", false);
|
||||
#endif
|
||||
|
||||
// Secure Element API
|
||||
|
Loading…
Reference in New Issue
Block a user