Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions examples/gears.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
{$mode objfpc}

uses
{$ifdef UNIX} CThreads, {$endif}
StrUtils,
GL,
GLPT;

(**

Draw a gear wheel. You'll probably wglpt to call this function when
Draw a gear wheel. You'll probably want to call this function when
building a display list since we do a lot of trig here.

Input: inner_radius - radius of hole at center
Expand Down Expand Up @@ -193,7 +194,7 @@
GLPT_SetWindowShouldClose(win, True);
end;

procedure error_callback(const error: integer; const description: string);
procedure error_callback(error: integer; description: string);
begin
writeln(stderr, description);
end;
Expand Down