Bug 577462: Addition - add comment requested in review.

This commit is contained in:
Bas Schouten 2010-07-14 00:23:32 +02:00
parent 7e49fc5fa1
commit bc942e367e

View File

@ -195,6 +195,8 @@ ThebesLayerD3D9::RenderLayer()
nsIntRect visibleRect = mVisibleRegion.GetBounds();
// We differentiate between these formats since D3D9 will only allow us to
// call GetDC on an opaque surface.
D3DFORMAT fmt = UseOpaqueSurface(this) ? D3DFMT_X8R8G8B8 : D3DFMT_A8R8G8B8;
if (mTexture) {
D3DSURFACE_DESC desc;