From 9ad90b9f7ca02386ea5ee359638c556ca9f457b4 Mon Sep 17 00:00:00 2001 From: Bergmann89 Date: Wed, 28 Oct 2015 19:18:10 +0100 Subject: [PATCH] * fixed examples --- examples/PostProcess/uMainForm.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/PostProcess/uMainForm.pas b/examples/PostProcess/uMainForm.pas index 284b718..b612bca 100644 --- a/examples/PostProcess/uMainForm.pas +++ b/examples/PostProcess/uMainForm.pas @@ -74,7 +74,7 @@ begin pp.AddChars(TtsCharRangeUsage.tsUsageInclude, 'Lorem'); ftsPostProcessor1.Add(pp); - img := TtsImage.Create; + img := TtsImage.Create(ftsContext); img.CreateEmpty(TtsFormat.tsFormatAlpha8, 4, 4); Move(PATTER_DATA[0], img.Data^, 16); pp := TtsPostProcessorFillPattern.Create(ftsContext, img, true, tsPosition(0, 0), TS_IMAGE_MODES_MODULATE_ALL, TS_COLOR_CHANNELS_RGBA);