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

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

Issue 1832923002: Clean up calls to CreateGpuMemoryBufferImageCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test failure. Created 4 years, 9 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_iosurface_readback_workaround_unittest.cc
diff --git a/gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc b/gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc
index 6a1a7c62068734c266073aca2bfab8a8765b797c..e8e7bc525c3f9fbd9df043fbe08c79a328fe5887 100644
--- a/gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc
+++ b/gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc
@@ -56,7 +56,7 @@ TEST_F(GLIOSurfaceReadbackWorkaroundTest, ReadPixels) {
glTexParameteri(source_target, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(source_target, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
GLuint image_id = glCreateGpuMemoryBufferImageCHROMIUM(
- width, height, GL_BGRA_EXT, GL_READ_WRITE_CHROMIUM);
+ width, height, GL_RGBA, GL_READ_WRITE_CHROMIUM);
ASSERT_NE(0u, image_id);
glBindTexImage2DCHROMIUM(source_target, image_id);

Powered by Google App Engine
This is Rietveld 408576698