Disable direct textures because of crashes.
authorAli Juma <ajuma@mozilla.com>
Tue, 31 Jan 2012 15:53:54 -0500
changeset 90857 7b8accc06c2648c34e9057e0925fb259b9fc309a
parent 90856 8a974e191b325a1ba16ce4705a2d2f47c3a75146
child 90858 dc18daa0b61de3c280f9426637beb785dd338ec5
push idunknown
push userunknown
push dateunknown
milestone12.0a1
Disable direct textures because of crashes.
widget/android/nsWindow.cpp
--- a/widget/android/nsWindow.cpp
+++ b/widget/android/nsWindow.cpp
@@ -831,16 +831,18 @@ void
 nsWindow::BindToTexture()
 {
     sDirectTexture->Bind();
 }
 
 bool
 nsWindow::HasDirectTexture()
 {
+  return false;
+
   static bool sTestedDirectTexture = false;
   static bool sHasDirectTexture = false;
 
   // If we already tested, return early
   if (sTestedDirectTexture)
     return sHasDirectTexture;
 
   sTestedDirectTexture = true;