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 3211a35e02fa1b3af596c3e62b846d428db9ef28..daca2c7856964328381fe1c75cd78051a91799ed 100644 |
--- a/gpu/command_buffer/tests/gl_manager.cc |
+++ b/gpu/command_buffer/tests/gl_manager.cc |
@@ -35,13 +35,15 @@ 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), |
bind_generates_resource(false), |
lose_context_when_out_of_memory(false), |
context_lost_allowed(false), |
- image_manager(NULL) {} |
+ image_manager(NULL) { |
+} |
GLManager::GLManager() |
: context_lost_allowed_(false) { |
@@ -114,6 +116,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) { |