gfx/angle/angle-tex-pool-default.patch
author Ehsan Akhgari <ehsan@mozilla.com>
Tue, 19 Nov 2013 14:18:00 -0500
changeset 156430 bf8e6aa4c8310e44a9de333da87e8c6a684e844b
parent 146042 356866ae2f6885933451a92aae838af00d659679
permissions -rw-r--r--
Add some comments about angle-build-unified.patch, no bug DONTBUILD

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)
 {