[Patchanim-commit] SF.net SVN: patchanim: [75] trunk/patchanim/src/com/mebigfatguy/patchanim/ surfa
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-01-31 05:46:30
|
Revision: 75
http://patchanim.svn.sourceforge.net/patchanim/?rev=75&view=rev
Author: dbrosius
Date: 2008-01-30 21:46:28 -0800 (Wed, 30 Jan 2008)
Log Message:
-----------
oops, r/g/b not b/g/r
Modified Paths:
--------------
trunk/patchanim/src/com/mebigfatguy/patchanim/surface/PatchGenerator.java
Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/surface/PatchGenerator.java
===================================================================
--- trunk/patchanim/src/com/mebigfatguy/patchanim/surface/PatchGenerator.java 2008-01-31 05:44:11 UTC (rev 74)
+++ trunk/patchanim/src/com/mebigfatguy/patchanim/surface/PatchGenerator.java 2008-01-31 05:46:28 UTC (rev 75)
@@ -110,11 +110,9 @@
}
}
- db.setElem(pixel++, iValue[0]);
- db.setElem(pixel++, iValue[1]);
db.setElem(pixel++, iValue[2]);
- //int compValue = 0xFF000000 | (iValue[0] << 16) | (iValue[1] << 8) | iValue[2];
- //image.setRGB(iu, iv, compValue);
+ db.setElem(pixel++, iValue[1]);
+ db.setElem(pixel++, iValue[0]);
}
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|