gfx/angle/angle-tex-pool-default.patch
author Thomas Zimmermann <tdz@users.sourceforge.net>
Thu, 17 Apr 2014 11:16:12 +0200
changeset 179011 7113f6dd5cdc328cdb5b017d0edd4732db5d58cd
parent 146042 356866ae2f6885933451a92aae838af00d659679
permissions -rw-r--r--
Bug 995912: Remove BLUEZ_DBUS_BASE_IFC from RawDBusConnection, r=qdot, echou This patch removes the constant BLUEZ_DBUS_BASE_IFC from the file RawDBusconnection.cpp. The constant is specific to BlueZ, and that's where it's located now.

From: Jeff Gilbert <jgilbert@mozilla.com>

diff --git a/gfx/angle/src/libGLESv2/renderer/Renderer9.cpp b/gfx/angle/src/libGLESv2/renderer/Renderer9.cpp
--- a/gfx/angle/src/libGLESv2/renderer/Renderer9.cpp
+++ b/gfx/angle/src/libGLESv2/renderer/Renderer9.cpp
@@ -3128,17 +3128,17 @@ D3DPOOL Renderer9::getTexturePool(DWORD 
     if (mD3d9Ex != NULL)
     {
         return D3DPOOL_DEFAULT;
     }
     else
     {
         if (!(usage & (D3DUSAGE_DEPTHSTENCIL | D3DUSAGE_RENDERTARGET)))
         {
-            return D3DPOOL_MANAGED;
+            return D3DPOOL_DEFAULT;
         }
     }
 
     return D3DPOOL_DEFAULT;
 }
 
 bool Renderer9::copyToRenderTarget(IDirect3DSurface9 *dest, IDirect3DSurface9 *source, bool fromManaged)
 {