Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

27 righe
552 B

  1. program triangle;
  2. {$mode objfpc}{$H+}
  3. {$APPTYPE CONSOLE}
  4. uses
  5. {$IFDEF UNIX}{$IFDEF UseCThreads}
  6. cthreads,
  7. {$ENDIF}{$ENDIF}
  8. Interfaces, Dialogs, Forms, uMainForm, Vulkan, uvkuDevice, uvkuDeviceFactory, uvkuPhysicalDeviceFactory,
  9. uvkuAllocationHandler;
  10. {$R *.res}
  11. begin
  12. if not InitializeVulkan then begin
  13. MessageDlg('Error', 'unable to initialize vulkan api', mtError, [mbOK], 0);
  14. halt;
  15. end;
  16. RequireDerivedFormResource := True;
  17. Application.Initialize;
  18. Application.CreateForm(TMainForm, MainForm);
  19. Application.Run;
  20. end.