summaryrefslogtreecommitdiffstats
path: root/cc/resources/resource_provider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/resource_provider.cc')
-rw-r--r--cc/resources/resource_provider.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/resources/resource_provider.cc b/cc/resources/resource_provider.cc
index fe7cc00..c0e8f1b 100644
--- a/cc/resources/resource_provider.cc
+++ b/cc/resources/resource_provider.cc
@@ -615,7 +615,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,