From 482d343d737ea0b509e9be7694b691d978496f05 Mon Sep 17 00:00:00 2001 From: kiirala Date: Mon, 2 Jun 2008 18:28:08 +0000 Subject: [PATCH] Changed correct pixblock output mode for feSpecularlighting --- src/display/nr-filter-specularlighting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display/nr-filter-specularlighting.cpp b/src/display/nr-filter-specularlighting.cpp index 677f93dde..1c131b4cc 100644 --- a/src/display/nr-filter-specularlighting.cpp +++ b/src/display/nr-filter-specularlighting.cpp @@ -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); -- 2.30.2