Bug 907792 - Refactor texture flags so that we set the deallocate flags based on the texture type. r=nical

This commit is contained in:
Matt Woodrow
2013-08-28 08:16:03 +12:00
parent 070b5d2361
commit 95364bbe15
7 changed files with 37 additions and 10 deletions

View File

@@ -138,7 +138,7 @@ ClientImageLayer::RenderLayer()
if (type == BUFFER_UNKNOWN) {
return;
}
TextureFlags flags = TEXTURE_FLAGS_DEFAULT;
TextureFlags flags = TEXTURE_FRONT;
if (mDisallowBigImage) {
flags |= TEXTURE_DISALLOW_BIGIMAGE;
}