FullscreenD.dpr 597 B

12345678910111213141516171819202122
  1. (*
  2. Basic demo for using the FullScreen Viewer and GLCanvas.
  3. This demo uses no forms, but switches directly to 800x600x32bpp fullscreen
  4. mode and renders a teapot with a colored light, hitting 'ESC' will leave
  5. full screen mode.
  6. The demo also makes use of GLCanvas to render a custom 2D overlay with
  7. TGLCanvas, here a yellow reticle at mouse position.
  8. *)
  9. program FullscreenD;
  10. uses
  11. Forms,
  12. fFullscreenD in 'fFullscreenD.pas' {DataModuleFS: TDataModule};
  13. {$R *.res}
  14. begin
  15. Application.Initialize;
  16. Application.CreateForm(TDataModuleFS, DataModuleFS);
  17. Application.Run;
  18. end.