CMCHTPC / DelphiDX12

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

Delphi does not have operator overload for Initialize. #15

Closed chapmanworld closed 5 years ago

chapmanworld commented 5 years ago

Perhaps use conditionals to remove operator overloads for Initialize in Delphi. {$ifdef fpc}{$endif}

CMCHTPC commented 5 years ago

I'm working currently on that issue. The class operators gets compiler conditions and extra Init procedures are added. I'm also trying to get a example of DX12 running on Delphi 10.2 Community edtion. But I must review the whole source code cause without the class operator for the records they must be initialized manually. FPC is here a little bit smarter :)

CMCHTPC commented 5 years ago

I've uploaded new version. Delphi 10.2 is now working. Also a small example for DirectX 12 now included.