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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h

Issue 2934733002: Workaround for Intel 6xxx clear to 0/1 bug (Closed)
Patch Set: fix try-bot error Created 3 years, 6 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: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
index 25237e25b8c3f5626b91247b3f9bf409acc52d19..50bde248332aa58087781bdb5413b8600415d27a 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
@@ -480,7 +480,7 @@ error::Error GLES2DecoderImpl::HandleClearColor(uint32_t immediate_data_size,
state_.color_clear_green = green;
state_.color_clear_blue = blue;
state_.color_clear_alpha = alpha;
- glClearColor(red, green, blue, alpha);
+ DoClearColor(red, green, blue, alpha);
}
return error::kNoError;
}

Powered by Google App Engine
This is Rietveld 408576698