fix incorrect format in SetPictureTransform

This commit is contained in:
Andrey Sidorov 2015-12-11 15:15:10 +11:00
parent 6627fd5168
commit 97dba66197

View file

@ -170,7 +170,7 @@ exports.requireExt = function(display, callback)
}
ext.SetPictureTransform = function(pid, matrix) {
var format = 'CCSLLLLLLLLLLLLL';
var format = 'CCSLLLLLLLLLL';
if (matrix.length !== 9)
throw 'Render.SetPictureTransform: incorrect transform matrix. Must be array of 9 numbers';
var params = [ext.majorOpcode, 28, 11, pid];