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

Unified Diff: gpu/command_buffer/client/gles2_implementation_unittest_autogen.h

Issue 1949303003: Improve indexed gl state related GL commands. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tex
Patch Set: fix a DCHECK failure Created 4 years, 7 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/client/gles2_implementation_unittest_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
index bb66dd1a1d516514aac611cdbca6b753a394f4f3..69615e2e621958d1742aefec4551fe75ff966e1c 100644
--- a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
@@ -200,9 +200,9 @@ TEST_F(GLES2ImplementationTest, ClearBufferfi) {
cmds::ClearBufferfi cmd;
};
Cmds expected;
- expected.cmd.Init(GL_COLOR, 2, 3, 4);
+ expected.cmd.Init(GL_DEPTH_STENCIL, 2, 3, 4);
- gl_->ClearBufferfi(GL_COLOR, 2, 3, 4);
+ gl_->ClearBufferfi(GL_DEPTH_STENCIL, 2, 3, 4);
EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
}
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation_impl_autogen.h ('k') | gpu/command_buffer/cmd_buffer_functions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698