Index: cc/resources/resource_format.cc |
diff --git a/cc/resources/resource_format.cc b/cc/resources/resource_format.cc |
index ba4e65d570a8c79f2128026f6f0c47ae641a4016..51e9596b3914ccfb67fd1acdeb8ecc95c4699785 100644 |
--- a/cc/resources/resource_format.cc |
+++ b/cc/resources/resource_format.cc |
@@ -88,7 +88,7 @@ GLenum GLDataFormat(ResourceFormat format) { |
} |
GLenum GLInternalFormat(ResourceFormat format) { |
- return GLDataFormat(format); |
+ return (format == RED_8) ? GL_R8_EXT : GLDataFormat(format); |
} |
gfx::BufferFormat BufferFormat(ResourceFormat format) { |