diff --git a/components/industrialstuff/Example/A3nalogGaugeSample/demo.lpi b/components/industrialstuff/Example/A3nalogGaugeSample/demo.lpi index 6d9767498..14cdb4514 100644 --- a/components/industrialstuff/Example/A3nalogGaugeSample/demo.lpi +++ b/components/industrialstuff/Example/A3nalogGaugeSample/demo.lpi @@ -44,6 +44,7 @@ + diff --git a/components/industrialstuff/industrial.lpk b/components/industrialstuff/industrial.lpk index c814084ac..77f5b1f05 100644 --- a/components/industrialstuff/industrial.lpk +++ b/components/industrialstuff/industrial.lpk @@ -25,7 +25,13 @@ - + diff --git a/components/industrialstuff/source/a3naloggauge.pas b/components/industrialstuff/source/a3naloggauge.pas index 13384969f..03cddd172 100644 --- a/components/industrialstuff/source/a3naloggauge.pas +++ b/components/industrialstuff/source/a3naloggauge.pas @@ -717,9 +717,8 @@ begin end; end; -(* // This code is faster than the version above, but crashes after a few seconds. - + { procedure TA3nalogGauge.FastAntiAliasPicture; const MaxPixelCount = MaxInt div SizeOf(TRGBTriple); @@ -800,7 +799,7 @@ begin intfImgFace.Free; end; end; - *) +} {$ELSE} const MaxPixelCount = MaxInt div SizeOf(TRGBTriple);