Merge "Properly passing an unused variable through."

This commit is contained in:
Alex Sakhartchouk
2011-11-07 09:53:28 -08:00
committed by Android (Google) Code Review

View File

@ -193,7 +193,7 @@ public class ETC1Util {
int encodedImageSize = ETC1.getEncodedDataSize(width, height);
ByteBuffer compressedImage = ByteBuffer.allocateDirect(encodedImageSize).
order(ByteOrder.nativeOrder());
ETC1.encodeImage(input, width, height, 3, stride, compressedImage);
ETC1.encodeImage(input, width, height, pixelSize, stride, compressedImage);
return new ETC1Texture(width, height, compressedImage);
}