mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-06 00:10:25 +00:00
Bug 577462: Addition - add comment requested in review.
This commit is contained in:
parent
7e49fc5fa1
commit
bc942e367e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user