Bug 621156 - Followup: Clarify comment. r+a=comment DONTBUILD

This commit is contained in:
Bas Schouten 2011-01-03 18:29:10 +01:00
parent 337324ab1f
commit 005c4bc381

View File

@ -460,7 +460,8 @@ CairoImageD3D10::GetAsSurface()
nsRefPtr<ID3D10Texture2D> surfTexture;
// Make a copy of the texture since our current texture is not suitable for
// drawing with Direct2D.
// drawing with Direct2D because it is immutable and cannot be bound as a
// render target.
D3D10_TEXTURE2D_DESC texDesc;
mTexture->GetDesc(&texDesc);
texDesc.Usage = D3D10_USAGE_DEFAULT;