[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47323] branches/soc-2011-tomato/intern/ raskter/raskter.c: re-remove XOR style writes from inner loop of rasterizer .
Peter Larabell
xgl.asyliax at gmail.com
Fri Jun 1 15:49:49 CEST 2012
Revision: 47323
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47323
Author: xglasyliax
Date: 2012-06-01 13:49:49 +0000 (Fri, 01 Jun 2012)
Log Message:
-----------
re-remove XOR style writes from inner loop of rasterizer. is pointless and less flexible after blending was added at higher level.
Modified Paths:
--------------
branches/soc-2011-tomato/intern/raskter/raskter.c
Modified: branches/soc-2011-tomato/intern/raskter/raskter.c
===================================================================
--- branches/soc-2011-tomato/intern/raskter/raskter.c 2012-06-01 13:46:38 UTC (rev 47322)
+++ branches/soc-2011-tomato/intern/raskter/raskter.c 2012-06-01 13:49:49 UTC (rev 47323)
@@ -308,12 +308,7 @@
if ((y_curr >= 0) && (y_curr < ctx->rb.sizey)) {
/* draw the pixels. */
for (; cpxl <= mpxl; cpxl++) {
- if (*cpxl < 0.5f) {
- *cpxl = 1.0f;
- }
- else {
- *cpxl = 0.0f;
- }
+ *cpxl = 1.0f;
}
}
}
More information about the Bf-blender-cvs
mailing list