Index: tests/ReadPixelsTest.cpp |
diff --git a/tests/ReadPixelsTest.cpp b/tests/ReadPixelsTest.cpp |
index 3e22f7c73c681956e4b58c96a3f3a720fc4340e1..804a7c4abe339216b93b0f5d7772e25706bbf26c 100644 |
--- a/tests/ReadPixelsTest.cpp |
+++ b/tests/ReadPixelsTest.cpp |
@@ -238,7 +238,7 @@ |
if (alloc) { |
bitmap->allocPixels(info); |
} else { |
- bitmap->setInfo(info, rowBytes); |
+ bitmap->setConfig(info, rowBytes); |
} |
} |