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 6e7d4b47ed74d1f6f41e1929922526e703d83fbe..bf0a1bfde2d7d9b054d4c3451a97d7daa7903d19 100644 |
--- a/gpu/command_buffer/tests/gl_manager.cc |
+++ b/gpu/command_buffer/tests/gl_manager.cc |
@@ -86,6 +86,7 @@ scoped_refptr<gfx::GLContext>* GLManager::base_context_; |
GLManager::Options::Options() |
: size(4, 4), |
+ stencil_size(-1), |
share_group_manager(NULL), |
share_mailbox_manager(NULL), |
virtual_manager(NULL), |
@@ -164,6 +165,7 @@ void GLManager::Initialize(const GLManager::Options& options) { |
attrib_helper.blue_size = 8; |
attrib_helper.alpha_size = 8; |
attrib_helper.depth_size = 16; |
+ attrib_helper.stencil_size = options.stencil_size; |
attrib_helper.Serialize(&attribs); |
if (!context_group) { |