Disable sHasDirectTexture because of crash in Nexus S
authorBenoit Girard <b56girard@gmail.com>
Thu, 26 Jan 2012 14:22:26 -0500
changeset 90850 2644887b175e940711ba244c28df58f5e11e61f0
parent 90849 8abc11cc5fb954d44b54eed5632111aaa7c8d2d4
child 90851 e94e72794e8248ad8ab4f68b3ae94bb38ebc4bcc
push idunknown
push userunknown
push dateunknown
Disable sHasDirectTexture because of crash in Nexus S
--- a/widget/android/nsWindow.cpp
+++ b/widget/android/nsWindow.cpp
@@ -98,17 +98,17 @@ bool nsWindow::sAccessibilityEnabled = f
 #include "mozilla/Mutex.h"
 #include "nsThreadUtils.h"
 #include "AndroidDirectTexture.h"
 static AndroidDirectTexture* sDirectTexture = new AndroidDirectTexture(2048, 2048,
         AndroidGraphicBuffer::UsageSoftwareWrite | AndroidGraphicBuffer::UsageTexture,
-static bool sHasDirectTexture = true;
+static bool sHasDirectTexture = false;
 class ContentCreationNotifier;
 static nsCOMPtr<ContentCreationNotifier> gContentCreationNotifier;
 // A helper class to send updates when content processes
 // are created. Currently an update for the screen size is sent.