mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
Bug 594876 - Turn on OpenGL layer by default for linux. r=joe
This commit is contained in:
parent
d9c40bb751
commit
39175f5e4f
@ -782,7 +782,7 @@ nsBaseWidget::GetShouldAccelerate()
|
||||
|
||||
PRBool disableAcceleration = PR_FALSE;
|
||||
PRBool forceAcceleration = PR_FALSE;
|
||||
#if defined(XP_WIN) || defined(ANDROID) || (MOZ_PLATFORM_MAEMO > 5)
|
||||
#if defined(XP_WIN) || defined(ANDROID) || (MOZ_PLATFORM_MAEMO > 5) || (!defined(MOZ_PLATFORM_MAEMO) && defined(MOZ_X11))
|
||||
PRBool accelerateByDefault = PR_TRUE;
|
||||
#elif defined(XP_MACOSX)
|
||||
/* quickdraw plugins don't work with OpenGL so we need to avoid OpenGL when we want to support
|
||||
|
Loading…
Reference in New Issue
Block a user