From 793b551b7a320182d932ee6d06d579068e1d4328 Mon Sep 17 00:00:00 2001 From: champii Date: Mon, 1 Sep 2014 07:49:14 +0200 Subject: [PATCH] fixed putImage --- lib/corereqs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/corereqs.js b/lib/corereqs.js index 9d80f4c..4ee6bb2 100644 --- a/lib/corereqs.js +++ b/lib/corereqs.js @@ -775,7 +775,8 @@ var templates = { // TODO: move code to calculate reqLength and use BigReq if needed outside of corereq.js // NOTE: big req is used here (first 'L' in format, 0 and +1 in params), won't work if not enabled - return [ 'CCSLLLSSssCCxxaa', [72, format, 0, 1+reqLen, drawable, gc, width, height, dstX, dstY, leftPad, depth, data, pad]]; + return [ 'CCSLLLSSssCCxxaa', [72, format, 0, reqLen, drawable, gc, width, height, dstX, dstY, leftPad, depth, data, pad]]; + // return [ 'CCSLLLSSssCCxxaa', [72, format, 0, 1+reqLen, drawable, gc, width, height, dstX, dstY, leftPad, depth, data, pad]]; } ],