Merge "Properly passing an unused variable through."
This commit is contained in:
committed by
Android (Google) Code Review
commit
9829cceca1
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user