missing drawable arg in format string for PolyFillRectangle request

This commit is contained in:
sidorares 2011-07-18 17:43:22 +10:00
parent 85fe833e9f
commit fff3c86688

View file

@ -206,7 +206,7 @@ module.exports = {
PolyFillRectangle: [
function(drawable, gc, rects) { // x1, y1, w1, h1, x2, y2, w2, h2...
var format = 'CxSL';
var format = 'CxSLL';
var numrects4bytes = rects.len*2;
var args = [60, 3+numrects4bytes, drawable, gc];
for (var i=0; i < rects.length; ++i)