Index: cc/resources/resource_provider.cc |
diff --git a/cc/resources/resource_provider.cc b/cc/resources/resource_provider.cc |
index 9651ef7939f0e33347b1976d89c308492df08858..6e00ed4ac7205213a121f9c835e26adff2525cdb 100644 |
--- a/cc/resources/resource_provider.cc |
+++ b/cc/resources/resource_provider.cc |
@@ -596,7 +596,7 @@ ResourceProvider::ResourceId ResourceProvider::CreateResourceFromTextureMailbox( |
gfx::Size(), |
Resource::External, |
mailbox.target(), |
- GL_LINEAR, |
+ mailbox.nearest_neighbor() ? GL_NEAREST : GL_LINEAR, |
0, |
GL_CLAMP_TO_EDGE, |
TextureHintImmutable, |