Commit 19caca87 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Direct and split strategies correct images.

parent d3870aaf
...@@ -111,3 +111,5 @@ not done automatically. ...@@ -111,3 +111,5 @@ not done automatically.
Added internal state variables ICET_NEED_BACKGROUND_CORRECTION, Added internal state variables ICET_NEED_BACKGROUND_CORRECTION,
ICET_TRUE_BACKGROUND_COLOR, and ICET_TRUE_BACKGROUND_COLOR_WORD. ICET_TRUE_BACKGROUND_COLOR, and ICET_TRUE_BACKGROUND_COLOR_WORD.
icetImageCorrectBackground function.
...@@ -84,5 +84,9 @@ IceTImage icetDirectCompose(void) ...@@ -84,5 +84,9 @@ IceTImage icetDirectCompose(void)
icetClearImage(image); icetClearImage(image);
} }
if (display_tile >= 0) {
icetImageCorrectBackground(image);
}
return image; return image;
} }
...@@ -60,6 +60,8 @@ static void icetCollectImage(IceTImage imageFragment, ...@@ -60,6 +60,8 @@ static void icetCollectImage(IceTImage imageFragment,
color_format = icetImageGetColorFormat(imageFragment); color_format = icetImageGetColorFormat(imageFragment);
depth_format = icetImageGetDepthFormat(imageFragment); depth_format = icetImageGetDepthFormat(imageFragment);
icetImageCorrectBackground(imageFragment);
icetTimingCollectBegin(); icetTimingCollectBegin();
if (color_format != ICET_IMAGE_COLOR_NONE) { if (color_format != ICET_IMAGE_COLOR_NONE) {
......
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