Code

Changed correct pixblock output mode for feSpecularlighting
authorkiirala <kiirala@users.sourceforge.net>
Mon, 2 Jun 2008 18:28:08 +0000 (18:28 +0000)
committerkiirala <kiirala@users.sourceforge.net>
Mon, 2 Jun 2008 18:28:08 +0000 (18:28 +0000)
src/display/nr-filter-specularlighting.cpp

index 677f93dded1f355c39c02c59dc459aeecdaca389..1c131b4ccba8483de48f40c445115817b897a2d7 100644 (file)
@@ -86,7 +86,7 @@ int FilterSpecularLighting::render(FilterSlot &slot, FilterUnits const &units) {
     Fvector L, N, LC, H;
     gdouble inter;
 
-    nr_pixblock_setup_fast(out, in->mode,
+    nr_pixblock_setup_fast(out, NR_PIXBLOCK_MODE_R8G8B8A8N,
             in->area.x0, in->area.y0, in->area.x1, in->area.y1,
             true);
     unsigned char *data_i = NR_PIXBLOCK_PX (in);