fix offset in GenTextures result

This commit is contained in:
Andrey Sidorov 2014-02-14 16:40:20 +11:00
parent 17610f899d
commit e354b8332b

View file

@ -164,7 +164,7 @@ exports.requireExt = function(display, callback)
function(buf, opt) { function(buf, opt) {
var format = Buffer(count); var format = Buffer(count);
format.fill('L'); format.fill('L');
return buf.unpack(format.toString()); return buf.unpack('xxxxxxxxxxxxxxxxxxxxxxxx' + format.toString());
}, },
callback callback
]; ];