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

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

Issue 11301006: automate more GL state handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 0692887c16cec058955a368415a8ffc50454080d..890df134a58280f57ec14bb1f49be81838d9b2d5 100644
--- a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
@@ -371,9 +371,9 @@ TEST_F(GLES2ImplementationTest, Disable) {
Disable cmd;
};
Cmds expected;
- expected.cmd.Init(GL_DITHER);
+ expected.cmd.Init(GL_BLEND);
- gl_->Disable(GL_DITHER);
+ gl_->Disable(GL_BLEND);
EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
}
@@ -404,9 +404,9 @@ TEST_F(GLES2ImplementationTest, Enable) {
Enable cmd;
};
Cmds expected;
- expected.cmd.Init(GL_DITHER);
+ expected.cmd.Init(GL_BLEND);
- gl_->Enable(GL_DITHER);
+ gl_->Enable(GL_BLEND);
EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
}
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698