Bug 629866 - Part 10: Do not upload during SetData call on D3D9. r=jrmuizel a=blocking-final

This commit is contained in:
Bas Schouten 2011-02-15 00:47:33 +01:00
parent 265dd7c2c2
commit 1875232a5d

View File

@ -622,10 +622,6 @@ CairoImageD3D9::SetData(const CairoImage::Data &aData)
mSize = aData.mSize;
mCachedSurface = aData.mSurface;
mTexture = NULL;
// Try to upload the surface immediately, so that we don't block the
// rendering pipeline at paint time.
(void) GetOrCreateTexture();
}
IDirect3DTexture9*