Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(779)

Unified Diff: components/view_manager/gles2/command_buffer_driver.cc

Issue 1338433002: Mandoline: Add WebGL support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change --enable-webgl to --disable-webgl Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/view_manager/gles2/command_buffer_driver.cc
diff --git a/components/view_manager/gles2/command_buffer_driver.cc b/components/view_manager/gles2/command_buffer_driver.cc
index 7bf92b07008f9df4c3ef16f453b79daf3f90b905..5a8c3394d7e17c0bbdc79bfee56131bb4b64daf3 100644
--- a/components/view_manager/gles2/command_buffer_driver.cc
+++ b/components/view_manager/gles2/command_buffer_driver.cc
@@ -119,7 +119,7 @@ bool CommandBufferDriver::DoInitialize(
// TODO(piman): attributes.
std::vector<int32> attrib_vector;
- if (!decoder_->Initialize(surface_, context_, false /* offscreen */,
+ if (!decoder_->Initialize(surface_, context_, true /* offscreen */,
gfx::Size(1, 1), disallowed_features,
attrib_vector))
return false;

Powered by Google App Engine
This is Rietveld 408576698