Bug 594876 - Turn on OpenGL layer by default for linux. r=joe

This commit is contained in:
Matt Woodrow 2011-05-23 11:05:25 +12:00
parent d9c40bb751
commit 39175f5e4f

View File

@ -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