mirror of
https://github.com/Laex/Delphi-OpenCV.git
synced 2024-11-15 15:55:53 +01:00
Fixed ViewFMX
This commit is contained in:
parent
7f7532166a
commit
896c466ab4
@ -134,10 +134,10 @@ constructor TocvViewFMX.Create(AOwner: TComponent);
|
||||
begin
|
||||
inherited;
|
||||
|
||||
{$IFDEF DELPHIXE7_UP} // Delphi XE7 and above
|
||||
BackBuffer := TBitmap.Create;
|
||||
{$ELSE ~DELPHIXE6} // Delphi XE6
|
||||
{$IFDEF DELPHIXE6_UP} // Delphi XE6 and above
|
||||
BackBuffer := TBitmap.Create;
|
||||
{$ENDIF}
|
||||
{$IFDEF DELPHIXE6} // Delphi XE6
|
||||
BackBuffer.PixelFormat := TPixelFormat.RGB;
|
||||
{$ELSE} // Delphi XE5 and below
|
||||
BackBuffer := TBitmap.Create(0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user