CMCHTPC / DelphiDX12

DirectX 12 Headers for Delphi and FPC
92 stars 35 forks source link

Samples_FPC / Direct2D / TextAnimationSample #19

Open PeterOnDrums opened 3 years ago

PeterOnDrums commented 3 years ago

Under Lazarus 2.0.12 - unit TextAnimation.pas

Compiler complains "TextAnimation.pas(568,71) Error: Incompatible type for arg no. 1: Got "TD2D_SIZE_F", expected "PD2D1_SIZE_F""

Instead, code compiles and runs with "Result := m_pRT.CreateCompatibleRenderTarget( nil, ....."