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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 2563973002: Command buffer: generate appropriate error when querying IMPLEMENTATION_COLOR_READ_FORMAT/TYPE (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index efef0da9684a7218e21c3c4fb35817c7cc2e2dce..01c59319229f533c8a636ba15aec0f38c77be9f9 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -6203,7 +6203,7 @@ bool GLES2DecoderImpl::GetHelper(
// GL error occur, we fall back to our internal implementation.
*num_written = 1;
if (!CheckBoundReadFramebufferValid("glGetIntegerv",
- GL_INVALID_OPERATION)) {
+ GL_INVALID_FRAMEBUFFER_OPERATION)) {
if (params) {
*params = 0;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698