[Pixelle-commit] SF.net SVN: pixelle:[269] trunk/pixelle/src/com/mebigfatguy/pixelle/eval/ PixelleE
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-07-17 05:55:15
|
Revision: 269
http://pixelle.svn.sourceforge.net/pixelle/?rev=269&view=rev
Author: dbrosius
Date: 2009-07-17 05:55:14 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
USBR
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/eval/PixelleEvalIndexed.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/eval/PixelleEvalIndexed.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/eval/PixelleEvalIndexed.java 2009-07-17 05:53:28 UTC (rev 268)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/eval/PixelleEvalIndexed.java 2009-07-17 05:55:14 UTC (rev 269)
@@ -70,7 +70,6 @@
private int getPixelIndex(int x, int y) {
int px = buffer.getElem((y * width / pixelsPerByte) + (x / pixelsPerByte));
int shift = x & (pixelsPerByte-1);
- px = (px >> shift) & bitsPerPixelMask[bitsPerPixel];
- return px;
+ return (px >> shift) & bitsPerPixelMask[bitsPerPixel];
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|