Index: gpu/command_buffer/service/program_manager.h |
diff --git a/gpu/command_buffer/service/program_manager.h b/gpu/command_buffer/service/program_manager.h |
index 650385c594a77ba4cdb347a19cbf2a849816cc0d..553c31335115049ea9257d812e813b6876f79b7b 100644 |
--- a/gpu/command_buffer/service/program_manager.h |
+++ b/gpu/command_buffer/service/program_manager.h |
@@ -42,8 +42,8 @@ class GPU_EXPORT ProgramManager { |
~UniformInfo(); |
bool IsSampler() const { |
- return type == GL_SAMPLER_2D || type == GL_SAMPLER_CUBE || |
- type == GL_SAMPLER_EXTERNAL_OES; |
+ return type == GL_SAMPLER_2D || type == GL_SAMPLER_2D_RECT_ARB || |
+ type == GL_SAMPLER_CUBE || type == GL_SAMPLER_EXTERNAL_OES; |
} |
GLsizei size; |