nicastel / renderscript_texture_compressor

RenderscriptTextureCompressor
Apache License 2.0
4 stars 6 forks source link

Fix for encoding image when pixelsize=3 #3

Closed ndorigatti closed 10 years ago

ndorigatti commented 10 years ago

When pixel size = 3, arraycopy must be removed otherwise will get bufferunderflow exception. The two lines are enough to correctly encode the image!