| Index: gpu/command_buffer/tests/gl_manager.cc
|
| diff --git a/gpu/command_buffer/tests/gl_manager.cc b/gpu/command_buffer/tests/gl_manager.cc
|
| index 67bdbb890cb86a3ded64789f0aeda0d1818661f2..b8c5191cca98514c62ab1476f05416ced28be02f 100644
|
| --- a/gpu/command_buffer/tests/gl_manager.cc
|
| +++ b/gpu/command_buffer/tests/gl_manager.cc
|
| @@ -40,6 +40,8 @@ namespace {
|
|
|
| size_t StrideInBytes(size_t width, gfx::GpuMemoryBuffer::Format format) {
|
| switch (format) {
|
| + case gfx::GpuMemoryBuffer::R_8:
|
| + return (width + 3) & ~0x3;
|
| case gfx::GpuMemoryBuffer::ATCIA:
|
| case gfx::GpuMemoryBuffer::DXT5:
|
| return width;
|
|
|