Bug 910921 - Wrong default texture flags when using ImageClient. r=sotaro

This commit is contained in:
Nicolas Silva 2013-09-02 13:36:42 +02:00
parent f2b60fc678
commit 499dd2a99d

View File

@ -256,7 +256,8 @@ ImageClientSingle::CreateBufferTextureClient(gfx::SurfaceFormat aFormat, Texture
TemporaryRef<BufferTextureClient>
ImageClientSingle::CreateBufferTextureClient(gfx::SurfaceFormat aFormat)
{
return CompositableClient::CreateBufferTextureClient(aFormat, mTextureFlags);
return CompositableClient::CreateBufferTextureClient(aFormat,
mTextureFlags | TEXTURE_FLAGS_DEFAULT);
}
void