Fixed ViewFMX

This commit is contained in:
Mikhail Grigorev 2014-09-29 14:55:12 +06:00
parent 896c466ab4
commit 1ab67a2c6c

View File

@ -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}