mirror of
https://github.com/Laex/Delphi-OpenCV.git
synced 2024-11-15 07:45:53 +01:00
Fixed ViewFMX
This commit is contained in:
parent
896c466ab4
commit
1ab67a2c6c
@ -139,7 +139,8 @@ begin
|
||||
{$ENDIF}
|
||||
{$IFDEF DELPHIXE6} // Delphi XE6
|
||||
BackBuffer.PixelFormat := TPixelFormat.RGB;
|
||||
{$ELSE} // Delphi XE5 and below
|
||||
{$ENDIF}
|
||||
{$IFNDEF DELPHIXE6_UP} // Delphi XE5 and below
|
||||
BackBuffer := TBitmap.Create(0, 0);
|
||||
BackBuffer.SetPixelFormat(TPixelFormat.pfX8R8G8B8);
|
||||
{$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user