Bug 907792 - Refactor texture flags so that we set the deallocate flags based on the texture type. r=nical
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user