Index: mojo/gles2/gles2_context.cc |
diff --git a/mojo/gles2/gles2_context.cc b/mojo/gles2/gles2_context.cc |
index 6d4106d2c082266d26a83b87c0d6d4d67140b7cf..4ae40acda7bcf21ce063ee8d6243fcb057723ad1 100644 |
--- a/mojo/gles2/gles2_context.cc |
+++ b/mojo/gles2/gles2_context.cc |
@@ -40,11 +40,14 @@ bool GLES2Context::Initialize() { |
return false; |
gles2_helper_->SetAutomaticFlushes(false); |
transfer_buffer_.reset(new gpu::TransferBuffer(gles2_helper_.get())); |
+ bool bind_generates_resource = true; |
+ bool lose_context_when_out_of_memory = false; |
danakj
2014/04/01 20:56:20
Oh, and one more, over here I set this false, as I
piman
2014/04/01 22:13:04
Yeah, right now, this is common code. We'll have t
danakj
2014/04/01 22:16:14
Thanks! Done.
|
implementation_.reset( |
new gpu::gles2::GLES2Implementation(gles2_helper_.get(), |
NULL, |
transfer_buffer_.get(), |
- true, |
+ bind_generates_resource, |
+ lose_context_when_out_of_memory, |
&command_buffer_)); |
return implementation_->Initialize(kDefaultStartTransferBufferSize, |
kDefaultMinTransferBufferSize, |