diff src/treeVnc/VncCanvas.java @ 3:3b341997141a

broadcast socket trying
author one
date Mon, 23 Apr 2012 20:18:23 +0900
parents 5d72f4c7371d
children
line wrap: on
line diff
--- a/src/treeVnc/VncCanvas.java	Sat Apr 07 14:55:34 2012 +0900
+++ b/src/treeVnc/VncCanvas.java	Mon Apr 23 20:18:23 2012 +0900
@@ -966,6 +966,8 @@
 
 				if (!rle) {
 					if (palSize == 0) {
+						System.out.println("mode"+mode);
+						System.out.println(tw+":"+th+":"+ty);
 						readZrleRawPixels(tw, th);
 					} else {
 						readZrlePackedPixels(tw, th, palette, palSize);
@@ -974,6 +976,8 @@
 					if (palSize == 0) {
 						readZrlePlainRLEPixels(tw, th);
 					} else {
+						System.out.println("mode"+mode);
+						System.out.println(tw+":"+th+":"+ty);
 						readZrlePackedRLEPixels(tw, th, palette);
 					}
 				}
@@ -1002,7 +1006,7 @@
 	}
 
 	void readPixels(InStream is, int[] dst, int count) throws Exception {
-		int pix;
+		// int pix;
 		if (bytesPixel == 1) {
 			byte[] buf = new byte[count];
 			is.readBytes(buf, 0, count);