Commit 0bb03064 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Distributed background correct needs to happen on all processes.

Previously background correct only happened on display processes after
the image was collected.  Now we encourage distributed correction before
collection.  In this case, it was wrong to not correct on non-display
processes.
parent ceb6d9b2
......@@ -190,8 +190,7 @@ static void drawUseBackgroundColor(const IceTFloat *background_color)
icetStateSetInteger(ICET_BACKGROUND_COLOR_WORD, 0);
icetGetIntegerv(ICET_TILE_DISPLAYED, &display_tile);
if ( (display_tile >= 0)
&& (background_color_word != 0)
if ( (background_color_word != 0)
&& icetIsEnabled(ICET_CORRECT_COLORED_BACKGROUND) ) {
icetStateSetBoolean(ICET_NEED_BACKGROUND_CORRECTION, ICET_TRUE);
} else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment