Actually DRAW image data.
authorMichael Jumper <zhangmaike@users.sourceforge.net>
Mon, 27 Feb 2012 20:36:25 +0000 (12:36 -0800)
committerMichael Jumper <zhangmaike@users.sourceforge.net>
Mon, 27 Feb 2012 20:36:25 +0000 (12:36 -0800)
src/main/resources/layer.js

index 32faa32..d1cbd06 100644 (file)
@@ -436,6 +436,9 @@ Guacamole.Layer = function(width, height) {
                     dst.data[i+3] = 0xFF; // Assume output opaque
                 }
 
+                // Draw image data
+                displayContext.putImageData(dst, x, y);
+
             }
 
             // Unblock the source layer now that draw is complete