amitsarangi / mt4j

Automatically exported from code.google.com/p/mt4j
GNU General Public License v2.0
0 stars 0 forks source link

GLTexture.updatePImageFromGLTexture doesn't work #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
int[] pixels is always of zero length.

should add
pixels = new int[this.width * this.height];
before 
buff.get(pixels);

so the pixels are actually updated

Original issue reported on code.google.com by valy...@gmail.com on 26 Aug 2011 at 12:42