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

Unified Diff: gpu/command_buffer/tests/gl_cube_map_texture_unittest.cc

Issue 2602563002: Refactor DrawTextureQuad and CheckPixels in gl_tests util (Closed)
Patch Set: rebase only Created 3 years, 12 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/tests/gl_cube_map_texture_unittest.cc
diff --git a/gpu/command_buffer/tests/gl_cube_map_texture_unittest.cc b/gpu/command_buffer/tests/gl_cube_map_texture_unittest.cc
index 96d0e46364f959082e12b3bc76b844c79dc089aa..eab89b159af25fcd88a1b4efb336976f774ba9fa 100644
--- a/gpu/command_buffer/tests/gl_cube_map_texture_unittest.cc
+++ b/gpu/command_buffer/tests/gl_cube_map_texture_unittest.cc
@@ -110,7 +110,7 @@ TEST_P(GLCubeMapTextureTest, ReadPixels) {
EXPECT_EQ(static_cast<GLenum>(GL_FRAMEBUFFER_COMPLETE),
glCheckFramebufferStatus(GL_FRAMEBUFFER));
- GLTestHelper::CheckPixels(0, 0, width_, width_, 0, pixels_);
+ GLTestHelper::CheckPixels(0, 0, width_, width_, 0, pixels_, nullptr);
EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError());
}

Powered by Google App Engine
This is Rietveld 408576698